[Date Prev][Date Next] [Chronological] [Thread] [Top]

StartTLS don't work.



Hi!
I'm writing a JNDI provider.Bug StartTLS don't work.
when I "socket.startHandshake();",I got "java.net.SocketException: socket
closed".

OpenLDAP log:
........
slapd starting
connection_get(840): got connid=0
connection_read(840): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_get_next
ber_get_next on fd 840 failed errno=10035 (WSAEWOULDBLOCK)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_bind: version=3 dn="" method=128
send_ldap_result: conn=0 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 840
do_bind: v3 anonymous bind
connection_get(840): got connid=0
connection_read(840): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 29 contents:
ber_get_next
do_extended
ber_scanf fmt ({m) ber:
ber_get_next on fd 840 failed errno=10035 (WSAEWOULDBLOCK)
send_ldap_extended: err=0 oid= len=0
send_ldap_response: msgid=2 tag=120 err=0
ber_flush: 14 bytes to sd 840
connection_get(840): got connid=0
connection_read(840): checking for input on id=0
TLS trace: SSL_accept:before/accept initialization
TLS trace: SSL_accept:SSLv3 read client hello A
TLS trace: SSL_accept:SSLv3 write server hello A
TLS trace: SSL_accept:SSLv3 write certificate A
TLS trace: SSL_accept:SSLv3 write server done A
TLS trace: SSL_accept:SSLv3 flush data
TLS trace: SSL_accept:failed in SSLv3 read client certificate A
TLS: can't accept.
connection_read(840): TLS accept error error=-1 id=0, closing
connection_closing: readying conn=0 sd=840 for close
connection_close: conn=0 sd=840