-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 17, 21, 22
-
b18
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8321383 | 21.0.3-oracle | Ramesh Gangadhar | P3 | Resolved | Fixed | b01 |
JDK-8323303 | 21.0.3 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8323909 | 17.0.11-oracle | Ramesh Gangadhar | P3 | Resolved | Fixed | b02 |
JDK-8324748 | 17.0.11 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
osMap.put("Linux-aarch64-64", new String[] {
"/usr/lib/aarch64-linux-gnu/",
"/usr/lib/aarch64-linux-gnu/nss/",
"/usr/lib64/" });
On OL8, not found. It can only pass without doing anything.
On OL9, found. The tests go on and fail with
java.io.IOException: load failed
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:778)
at java.base/java.security.KeyStore.load(KeyStore.java:1500)
at java.base/sun.security.tools.keytool.Main.doCommands(Main.java:1016)
at java.base/sun.security.tools.keytool.Main.run(Main.java:419)
at java.base/sun.security.tools.keytool.Main.main(Main.java:412)
at KeyToolTest.test(KeyToolTest.java:173)
at KeyToolTest.test(KeyToolTest.java:141)
at KeyToolTest.testOK(KeyToolTest.java:196)
at KeyToolTest.testPKCS11(KeyToolTest.java:687)
at KeyToolTest.main(KeyToolTest.java:1841)
at NssTest.main(NssTest.java:52)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1591)
Caused by: javax.security.auth.login.LoginException
at jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1541)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.login(P11KeyStore.java:878)
at jdk.crypto.cryptoki/sun.security.pkcs11.P11KeyStore.engineLoad(P11KeyStore.java:765)
... 14 more
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_USER_TYPE_INVALID
at jdk.crypto.cryptoki/sun.security.pkcs11.wrapper.PKCS11.C_Login(Native Method)
at jdk.crypto.cryptoki/sun.security.pkcs11.SunPKCS11.login(SunPKCS11.java:1524)
... 16 more
- backported by
-
JDK-8321383 NSS tests failing on OL9 linux-aarch64 hosts
- Resolved
-
JDK-8323303 NSS tests failing on OL9 linux-aarch64 hosts
- Resolved
-
JDK-8323909 NSS tests failing on OL9 linux-aarch64 hosts
- Resolved
-
JDK-8324748 NSS tests failing on OL9 linux-aarch64 hosts
- Resolved
- relates to
-
JDK-8232153 sun/security/pkcs11/Secmod/AddTrustedCert.java failed with Linux built-in NSS libs
- Closed
- links to
-
Commit openjdk/jdk17u-dev/86df8c2d
-
Commit openjdk/jdk21u-dev/c21a12d4
-
Commit openjdk/jdk/6e1aacdf
-
Review openjdk/jdk17u-dev/2170
-
Review openjdk/jdk21u-dev/114
-
Review openjdk/jdk/15644
-
Review(master) openjdk/jdk11u-dev/2955