-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
Steps to Reproduce work using OpenJDK 8, but on OpenJDK 11 the following exception gets thrown:
{{ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([}} {{ ("subsystem" => "elytron"),}} {{ ("key-store" => "pkcs11ks")}} {{]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.security.key-store.pkcs11ks" => "WFLYELY00004: Unable to start the service.}} {{ Caused by: org.jboss.msc.service.StartException in anonymous service: WFLYELY00012: No suitable provider found for type 'PKCS11'"}}}}
Configuration loading for SunPKCS11 was changed after Java 8 and the constructor that accepts InputStream configuration is not present in openjdk 11. Maybe because of this, the configuration is ignored when it is passed in provider-loader.
- is cloned by
-
WFCORE-5239 No suitable provider found for type 'PKCS11' on openjdk 11 when configuration is passed in provider-loader
- Closed