Details

    • Affects Build:
      CR2
    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      Start Smart router with HTTPS on IBM JDK 8.

      Show
      Start Smart router with HTTPS on IBM JDK 8.

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tsurdilovic Tihomir Surdilovic
                  Reporter:
                  ksuta Karel Suta
                  Tester:
                  Karel Suta
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: