Running bouncy castle functionality in a spring boot jar container ends up in the exception "java.lang.SecurityException: JCE cannot authenticate the provider BC" when using Oracle JDK from version 16+. Running same jar container with OpenJDK 16+ or Oracle JDK 15- works fine. ...
JCE cannot authenticate the provider BC at org.bouncycastle.jcajce.provider.keystore.pkcs12.PKCS12KeyStoreSpi.engineLoad(Unknown Source) at java.base/java.security.KeyStore.load(KeyStore.java:1473) at de.captaingoldfish.restclient.commons.keyhelper.KeyStoreSupporter.readKeyStore(KeyStoreSupporter.java...
The security plugin cannot be loaded because of an issue with the bouncy castle dependancy coming from OpenSearch core. java.lang.IllegalStateException: failed to load plugin class [org.opensearch.security.OpenSearchSecurityPlugin] � Lik...