users@glassfish.java.net

Re: bad_certificate for LDAP calls

From: <forums_at_java.net>
Date: Thu, 8 Sep 2011 14:53:06 -0500 (CDT)

After setting this, the new message I got is the following:

javax.naming.CommunicationException: simple bind failed: <LDAP port> [Root
exception is java.net.SocketException: Software caused connection abort: recv
failed]

There are a lot of stuff in the log. Highlight is the following:

Cipher Suite: SSL_RSA_WITH_RC4_128_MD5
CONNECTION KEYGEN:
Client Nonce:
Server Nonce:
Master Secret:
Client MAC write Secret:
Server MAC write Secret:
Client write key:
Server write key:
... no IV used for this cipher
http-thread-pool-8181(5), WRITE: TLSv1 Handshake, length = 74
http-thread-pool-8181(5), WRITE: TLSv1 Change Cipher Spec, length = 1
*** Finished
verify_data:  {
http-thread-pool-8181(5), WRITE: TLSv1 Handshake, length = 32
http-thread-pool-8181(4), READ: TLSv1 Handshake, length = 74
*** ServerHello, TLSv1
RandomCookie: 
GMT:....
Session ID: 
.....
called close()
called closeInternal(true)
SEND TLSv1 ALERT:
warning,
description = close_notify
.....
Using SSLEngineImpl.
http-thread-pool-8181(1), READ: TLSv1 Handshake, length = 105
*** ClientHello, TLSv1
........
*** Certificate chain
chain [0] = [...]
chain [1] = [...]
...
*** ServerHelloDone
*** Certificate chain
chain [0] = [...Issuer: CN=localhost, OU=GlassFish, O=Oracle Corporation,
L=Santa Clara, ST=California, C=US...]
*** ClientKeyExchange, RSA PreMasterSecret, TLSv1
... no IV used for this cipher
*** CertificateVerify
http-thread-pool-8181(1), WRITE: TLSv1 Handshake, length = 134
http-thread-pool-8181(1), WRITE: TLSv1 Change Cipher Spec, length = 1
*** Finished
verify_data:  {
....
http-thread-pool-8181(1), WRITE: TLSv1 Handshake, length = 32
http-thread-pool-8181(1), waiting for close_notify or alert: state 1
http-thread-pool-8181(1), Exception while waiting for close
java.net.SocketException: Software caused connection abort: recv failed
http-thread-pool-8181(1), handling exception: java.net.SocketException:
Software caused connection abort: recv failed
 

 


--
[Message sent by forum member 'yfwang']
View Post: http://forums.java.net/node/840982