-
Bug
-
Resolution: Fixed
-
P2
-
5.0u19, 6u23
-
b07
-
sparc
-
solaris_10
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2191318 | 7 | Valerie Peng | P3 | Closed | Fixed | b126 |
JDK-2206338 | 6u25 | Sean Coffey | P2 | Closed | Fixed | b03 |
JDK-2191319 | 6u24-rev | Sean Coffey | P2 | Closed | Fixed | b23 |
JDK-2206130 | 6u24 | Sean Coffey | P2 | Closed | Fixed | b50 |
JDK-2191320 | OpenJDK6 | Mala Bankal | P4 | Closed | Won't Fix | |
JDK-2192911 | 5.0u25 | Mala Bankal | P2 | Closed | Fixed | b02 |
JDK used : 5u19
Platform: T5220, Solaris 10u5 with 139555-08 118918-24
sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED
after many SSL operations:
Mon Feb 08 14:56:26 PST 2010 31374000 sdn CN=v4v-t5220f-sca11.sfbay.sun.com, OU=Services, O=Sun, L=Santa Clara, ST=California, C=US
[GC 44704K->33288K(60416K), 0.0255555 secs]
[GC 44872K->33545K(60288K), 0.0177596 secs]
[GC 45129K->33470K(60352K), 0.0165997 secs]
[GC 44926K->33518K(60352K), 0.0166519 secs]
[GC 44974K->33650K(60224K), 0.0180893 secs]
[GC 45106K->33515K(60288K), 0.0171511 secs]
[GC 44971K->33515K(60352K), 0.0168836 secs]
[GC 44968K->33716K(60352K), 0.0170418 secs]
[GC 45172K->33637K(60352K), 0.0169596 secs]
Got Exception : javax.net.ssl.SSLPeerUnverifiedException: peer not authenticatedThe (filename, line number, function, statement, value) is:
[('C:\\cygwin\\tmp\\wibapp.ear-SSL-LIB-ERR\\ckcert.py', 0, 'main', None)]
java_exp javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
java_expjavax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificateChain(SSLSessionImpl.java:394)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.python.core.PyBeanProperty._doget(Unknown Source)
at org.python.core.PyObject._doget(Unknown Source)
at org.python.core.PyObject.__get__(Unknown Source)
at org.python.core.PyInstance.__findattr__(Unknown Source)
at org.python.core.PyInstance.__findattr__(Unknown Source)
at org.python.core.PyObject.__getattr__(Unknown Source)
at ckcert$_PyInner.main$1(ckcert.java:106)
at ckcert$_PyInner.call_function(ckcert.java:47)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.imp.createFromCode(Unknown Source)
at org.python.core.imp.createFromCode(Unknown Source)
at org.python.core.Py.runMain(Unknown Source)
at ckcert.main(ckcert.java:153)
None
Got Exception : java.security.ProviderException: update() failed
The (filename, line number, function, statement, value) is:
[('C:\\cygwin\\tmp\\wibapp.ear-SSL-LIB-ERR\\ckcert.py', 0, 'main', None)]
java_exp java.security.ProviderException: update() failed
java_expjava.security.ProviderException: update() failed
at sun.security.pkcs11.P11Cipher.implUpdate(P11Cipher.java:460)
at sun.security.pkcs11.P11Cipher.engineUpdate(P11Cipher.java:391)
at javax.crypto.Cipher.update(DashoA12275)
at com.sun.net.ssl.internal.ssl.CipherBox.encrypt(CipherBox.java:184)
at com.sun.net.ssl.internal.ssl.OutputRecord.encrypt(OutputRecord.java:197)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecordInternal(SSLSocketImpl.java:726)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:715)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.sendAlert(SSLSocketImpl.java:1688)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1579) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1547) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1530)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:1823)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.python.core.PyBeanProperty._doget(Unknown Source)
at org.python.core.PyObject._doget(Unknown Source)
at org.python.core.PyObject.__get__(Unknown Source)
at org.python.core.PyInstance.__findattr__(Unknown Source)
at org.python.core.PyInstance.__findattr__(Unknown Source)
at org.python.core.PyObject.__getattr__(Unknown Source)
at ckcert$_PyInner.main$1(ckcert.java:105)
at ckcert$_PyInner.call_function(ckcert.java:47)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.imp.createFromCode(Unknown Source)
at org.python.core.imp.createFromCode(Unknown Source)
at org.python.core.Py.runMain(Unknown Source)
at ckcert.main(ckcert.java:153)
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED
at sun.security.pkcs11.wrapper.PKCS11.C_EncryptUpdate(Native Method)
at sun.security.pkcs11.P11Cipher.implUpdate(P11Cipher.java:450)
... 29 more
None
testcase:
#!/bin/ksh
mv ckcert.out ckcert.out.old
h=v4v-t5220f-sca11.sfbay
p=443
set -x
/chow/jdk1.5.0_19/bin/java -Xms64m -Xmx64m -verbose:gc -Djavax.net.ssl.trustStoreType=JKS -Djavax.net.ssl.trustStore=$(pwd)/testkeystore -Djavax.net.ssl.trustStorePassword=testpass -jar $(pwd)/ckcert.jar $h $p > ckcert.out 2>&1 &
tail -f ckcert.out
i = 0
e = 0
while 1 :
try :
i += 1 ;
sslsf = SSLSocketFactory.getDefault() ;
ssls = sslsf.createSocket(str(sys.argv[1]),int(sys.argv[2])) ;
ssls = ssls.session ;
pcca = ssls.peerCertificateChain ;
pcc = pcca[0] ;
sdn = pcc.subjectDN ;
if ( i % 1000 ) == 0 :
print Date(),i,'sdn',sdn ;
except Exception,java_exp :
e += 1 ;
exc_type, exc_value, exc_tb = sys.exc_info()
print "Got Exception : "+str(exc_value)
print "The (filename, line number, function, statement, value) is:"
print str(traceback.extract_tb(exc_tb))
print 'java_exp',java_exp
print 'java_exp',java_exp.printStackTrace()
time.sleep(60)
if e > 10000 :
sys.exit()
- backported by
-
JDK-2191319 sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED
- Closed
-
JDK-2192911 sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED
- Closed
-
JDK-2206130 sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED
- Closed
-
JDK-2206338 sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED
- Closed
-
JDK-2191318 sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED
- Closed
-
JDK-2191320 sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED
- Closed
- duplicates
-
JDK-7005843 PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED in a MT application
- Closed
- relates to
-
JDK-6750401 SSL stress test with GF leads to 32 bit max process size in less than 5 minutes,with PCKS11 provider
- Closed
-
JDK-6975444 Migrating to 5u24 crashes in soft_des_encrypt_common
- Closed
-
JDK-7020598 sun.security.pkcs11.P11Cipher changes lost in 5.0 JDK since 5u25
- Closed
-
JDK-2170676 SSL stress test with GF leads to 32 bit max process size in less than 5 minutes,with PCKS11 provider
- Closed
-
JDK-6951703 Input focus not working with multiple applets on solaris 9 sparc in CTE regression test
- Closed
-
JDK-6993711 Intermitent exception: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATIO
- Closed
-
JDK-7027235 sun.security.pkcs11.wrapper.PKCS11Exception: CKR_OPERATION_NOT_INITIALIZED with JDK 7 b132
- Closed