-
Bug
-
Resolution: Fixed
-
P3
-
9, 10, 11, 13
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8319250 | 21.0.2 | Goetz Lindenmaier | P3 | Resolved | Fixed | b05 |
JDK-8319081 | 17.0.11-oracle | Ramesh Gangadhar | P3 | Resolved | Fixed | b01 |
JDK-8319624 | 17.0.10 | Goetz Lindenmaier | P3 | Resolved | Fixed | b02 |
JDK-8319086 | 11.0.23-oracle | Ramesh Gangadhar | P3 | Resolved | Fixed | b01 |
javax.net.ssl.SSLException: java.security.ProviderException: Internal error: close session with active objects
at sun.security.ssl.Alerts.getSSLException(java.base@9-ea/Alerts.java:214)
at sun.security.ssl.SSLSocketImpl.fatal(java.base@9-ea/SSLSocketImpl.java:1948)
at sun.security.ssl.SSLSocketImpl.fatal(java.base@9-ea/SSLSocketImpl.java:1900)
at sun.security.ssl.SSLSocketImpl.handleException(java.base@9-ea/SSLSocketImpl.java:1883)
at sun.security.ssl.SSLSocketImpl.handleException(java.base@9-ea/SSLSocketImpl.java:1809)
at sun.security.ssl.AppInputStream.read(java.base@9-ea/AppInputStream.java:173)
at sun.security.ssl.AppInputStream.read(java.base@9-ea/AppInputStream.java:84)
at CipherTest$Server.handleRequest(CipherTest.java:79)
at JSSEServer$1.run(JSSEServer.java:67)
at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1158)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632)
at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
Caused by: java.security.ProviderException: Internal error: close session with active objects
at sun.security.pkcs11.Session.close(jdk.crypto.pkcs11@9-ea/Session.java:117)
at sun.security.pkcs11.SessionManager.closeSession(jdk.crypto.pkcs11@9-ea/SessionManager.java:232)
at sun.security.pkcs11.SessionManager.killSession(jdk.crypto.pkcs11@9-ea/SessionManager.java:174)
at sun.security.pkcs11.Token.killSession(jdk.crypto.pkcs11@9-ea/Token.java:311)
at sun.security.pkcs11.P11Digest.engineReset(jdk.crypto.pkcs11@9-ea/P11Digest.java:144)
at sun.security.pkcs11.P11Digest.engineDigest(jdk.crypto.pkcs11@9-ea/P11Digest.java:194)
at java.security.MessageDigest$Delegate.engineDigest(java.base@9-ea/MessageDigest.java:604)
at java.security.MessageDigest.digest(java.base@9-ea/MessageDigest.java:399)
at com.sun.crypto.provider.TlsPrfGenerator.expand(java.base@9-ea/TlsPrfGenerator.java:324)
at com.sun.crypto.provider.TlsPrfGenerator.doTLS12PRF(java.base@9-ea/TlsPrfGenerator.java:210)
at com.sun.crypto.provider.TlsPrfGenerator.doTLS12PRF(java.base@9-ea/TlsPrfGenerator.java:174)
at com.sun.crypto.provider.TlsKeyMaterialGenerator.engineGenerateKey0(java.base@9-ea/TlsKeyMaterialGenerator.java:129)
at com.sun.crypto.provider.TlsKeyMaterialGenerator.engineGenerateKey(java.base@9-ea/TlsKeyMaterialGenerator.java:90)
at javax.crypto.KeyGenerator.generateKey(java.base@9-ea/KeyGenerator.java:553)
at sun.security.ssl.Handshaker.calculateConnectionKeys(java.base@9-ea/Handshaker.java:1316)
at sun.security.ssl.Handshaker.calculateKeys(java.base@9-ea/Handshaker.java:1148)
at sun.security.ssl.ServerHandshaker.processMessage(java.base@9-ea/ServerHandshaker.java:310)
at sun.security.ssl.Handshaker.processLoop(java.base@9-ea/Handshaker.java:1003)
at sun.security.ssl.Handshaker.processRecord(java.base@9-ea/Handshaker.java:937)
at sun.security.ssl.SSLSocketImpl.processInputRecord(java.base@9-ea/SSLSocketImpl.java:1118)
at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:1055)
at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:966)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(java.base@9-ea/SSLSocketImpl.java:1381)
at sun.security.ssl.SSLSocketImpl.bytesInCompletePacket(java.base@9-ea/SSLSocketImpl.java:900)
at sun.security.ssl.AppInputStream.read(java.base@9-ea/AppInputStream.java:144)
... 6 more
javax.net.ssl.SSLException: Received fatal alert: internal_error
at sun.security.ssl.Alerts.getSSLException(java.base@9-ea/Alerts.java:214)
at sun.security.ssl.Alerts.getSSLException(java.base@9-ea/Alerts.java:159)
at sun.security.ssl.SSLSocketImpl.recvAlert(java.base@9-ea/SSLSocketImpl.java:2020)
at sun.security.ssl.SSLSocketImpl.processInputRecord(java.base@9-ea/SSLSocketImpl.java:1188)
at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:1055)
at sun.security.ssl.SSLSocketImpl.readRecord(java.base@9-ea/SSLSocketImpl.java:966)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(java.base@9-ea/SSLSocketImpl.java:1381)
at sun.security.ssl.SSLSocketImpl.writeRecord(java.base@9-ea/SSLSocketImpl.java:726)
at sun.security.ssl.AppOutputStream.write(java.base@9-ea/AppOutputStream.java:67)
at java.io.OutputStream.write(java.base@9-ea/OutputStream.java:75)
at CipherTest$Client.sendRequest(CipherTest.java:381)
at JSSEClient.runTest(JSSEClient.java:57)
at CipherTest$Client.run(CipherTest.java:368)
at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
java.lang.Exception: *** Test 'Client JSSE - Server JSSE' failed ***
at CipherTest.run(CipherTest.java:325)
at CipherTest.main(CipherTest.java:449)
at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:64)
at PKCS11Test.premain(PKCS11Test.java:167)
at PKCS11Test.testDefault(PKCS11Test.java:249)
at PKCS11Test.main(PKCS11Test.java:197)
at ClientJSSEServerJSSE.main(ClientJSSEServerJSSE.java:54)
at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
- backported by
-
JDK-8319081 sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
- Resolved
-
JDK-8319086 sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
- Resolved
-
JDK-8319250 sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
- Resolved
-
JDK-8319624 sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
- Resolved
- relates to
-
JDK-8240256 Better resource cleaning for SunPKCS11 Provider
- Resolved
-
JDK-8316183 sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails intermittently on Linux ppc64le
- Open
- links to
-
Commit openjdk/jdk17u-dev/fc7650f6
-
Commit openjdk/jdk21u/a96de29f
-
Commit openjdk/jdk/939d7c5d
-
Review openjdk/jdk11u-dev/2521
-
Review openjdk/jdk17u-dev/1944
-
Review openjdk/jdk21u/309
-
Review openjdk/jdk/15497