[
https://issues.redhat.com/browse/ELY-2065?page=com.atlassian.jira.plugin....
]
Diana Vilkolakova updated ELY-2065:
-----------------------------------
Description:
Steps to Reproduce work using OpenJDK 8, but on OpenJDK 11 the following exception gets
thrown:
{code}
{{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'"}}}}
{code}
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*.
was:
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*.
No suitable provider found for type 'PKCS11' on openjdk 11
when configuration is passed in provider-loader
----------------------------------------------------------------------------------------------------------
Key: ELY-2065
URL:
https://issues.redhat.com/browse/ELY-2065
Project: WildFly Elytron
Issue Type: Bug
Components: API / SPI
Reporter: Diana Vilkolakova
Assignee: Diana Vilkolakova
Priority: Major
Steps to Reproduce work using OpenJDK 8, but on OpenJDK 11 the following exception gets
thrown:
{code}
{{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'"}}}}
{code}
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*.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)