Uploaded image for project: 'odlparent'
  1. odlparent
  2. ODLPARENT-183

BouncyCastle does not work with Java 11

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • High
    • Resolution: Done
    • 4.0.7
    • 4.0.8, 3.1.6
    • Karaf
    • None

    Description

      This was encountered when testing AAA with JDK11. Our wiring of BouncyCastle in Karaf does not work, emitting an error on the console:

      Apache Karaf starting up. Press Enter to open the shell now...
      Unable to register security provider: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
      100% [========================================================================]
      
      Karaf started in 0s. Bundle stats: 15 active, 15 total
      

      This leads to AAA failing on SFT, because BC provider is not registered as expected, leading to a run-time failure.

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: