[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
StartTLS don't work.
- To: <openldap-software@OpenLDAP.org>
- Subject: StartTLS don't work.
- From: "Kent G" <kentgg@gmail.com>
- Date: Tue, 25 Apr 2006 10:53:07 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:mime-version:content-type:content-transfer-encoding:x-mailer:x-mimeole:thread-index:message-id; b=tmlCeWiT1mLcEFAWmO4NNZhMWv/s6wcxSkzaWLdGge1gVosElHcvoZDdOoETRi6q7TXBmTPftTHvQhz2Uf/hVYIpDU6hI6PqPb00HTmvv2gsP1ju29ex0jsu4sv94ERMDd/0nl26pnlBuoh3zGG/PIXi0ByoITaE84dK7LD7yD4=
- Thread-index: AcZoE1gVOSZhgOOyQ9+7lO8J6/HmGQ==
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