-
Bug
-
Resolution: Done
-
Major
-
7.12.0.Final
-
None
When Smart router is started with HTTPS enabled (keystore is passed together with configuration parameters) then this exception is thrown:
Exception in thread "main" java.lang.RuntimeException: java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not available at org.kie.server.router.utils.SSLContextBuilder.build(SSLContextBuilder.java:123) at org.kie.server.router.KieServerRouter.start(KieServerRouter.java:202) at org.kie.server.router.KieServerRouter.main(KieServerRouter.java:111) Caused by: java.security.NoSuchAlgorithmException: SunX509 KeyManagerFactory not available at sun.security.jca.GetInstance.getInstance(GetInstance.java:171) at javax.net.ssl.KeyManagerFactory.getInstance(KeyManagerFactory.java:12) at org.kie.server.router.utils.SSLContextBuilder.build(SSLContextBuilder.java:91) ... 2 more
The problem is caused by hardcoded keystore algorithm. It could be fixed by retrieving default algorithm by this method.
- blocks
-
RHPAM-1576 NoSuchAlgorithmException when starting Smart router with HTTPS
- Closed