-
Bug
-
Resolution: Done
-
Major
-
1.2.0.Beta11
This happens on HP-UX in KeyStoreCredentialStoreTest. It probably related to ELY-1295 fix. Fix have to take HP-UX JDK in account as well.
Btw. Isn't there more elegant way how to enable tests for PKCS12. Necessary hack seems to be problematic.
java.lang.SecurityException: JCE cannot authenticate the provider WildFlyElytron
at javax.crypto.JceSecurity.getInstance(JceSecurity.java:118)
at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:244)
at org.wildfly.security.credential.store.impl.KeyStoreCredentialStoreTest.installWildFlyElytronProvider(KeyStoreCredentialStoreTest.java:117)
Caused by: java.lang.SecurityException: Cannot verify jar:file:/hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes/!/
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:448)
at javax.crypto.JarVerifier.verifyJars(JarVerifier.java:363)
at javax.crypto.JarVerifier.verify(JarVerifier.java:289)
at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:164)
at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:190)
at javax.crypto.JceSecurity.getInstance(JceSecurity.java:114)
... 2 more
Caused by: java.security.PrivilegedActionException: java.io.FileNotFoundException: /hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes (Is a directory)
at java.security.AccessController.doPrivileged(Native Method)
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:426)
... 7 more
Caused by: java.io.FileNotFoundException: /hudson_workspace/workspace/wildfly-elytron-unit-tests/8cc93d85/wildfly-elytron/target/classes (Is a directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:225)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:103)
at javax.crypto.JarVerifier$2.run(JarVerifier.java:440)
at javax.crypto.JarVerifier$2.run(JarVerifier.java:427)
... 9 more
- is related to
-
ELY-1496 Test PKCS12 KeystoreCredentialStore on non-Oracle JDKs
-
- Open
-