]
Jan Kalina edited comment on ELY-1427 at 1/25/18 9:51 AM:
----------------------------------------------------------
This is property of IBM Java - its implementation of PKCS12 KeyStore does not allow to
store custom objects.
This cannot be supported on IBM Java.
See discussion in ELY-1295.
was (Author: honza889):
This is property of IBM Java - its implementation of PKCS12 KeyStore does not allow to
store custom objects.
See discussion in ELY-1295.
Credential store type PKCS12 works fine when using OracleJDK and
OpenJDK but doesn't work using IBM JDK.
--------------------------------------------------------------------------------------------------------
Key: ELY-1427
URL:
https://issues.jboss.org/browse/ELY-1427
Project: WildFly Elytron
Issue Type: Bug
Components: Credential Store
Reporter: Hynek Švábek
Priority: Critical
Credential store type PKCS12 works fine when using OracleJDK and OpenJDK.
Problem occurs when we use IBM JDK, add-alias works fine for first time, but for
add-alias for second time with same alias name we expect message about duplicity rather
than current error message about SecretKeyFactory not availability.
{code}
"WFLYCTL0158: Operation handler failed: java.lang.RuntimeException: WFLYELY00009:
Unable to complete operation. 'ELY09504: Cannot acquire a credential from the
credential store->Get Key failed: 1.2.840.113549.1.7.1 SecretKeyFactory not
available->1.2.840.113549.1.7.1 SecretKeyFactory not available'",
{code}
*NOTE*
I met same problem with Oracle JDK 1.8 u66, with u144 is everythink ok.