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

problem with replication over ssl



I have read all the archives in the ML, but I havent found the solution.
I use for this the "OpenLDAP SSL/TLS How-To" of D.Kent Soper.
When I test the server with openssl s_client at the point 6.1 it works,
but after this when I try with the client cert and key the result is not
the same. All the part in bold are missing...
I am sure that the certificate of the client is right.
When I try to use ldapsearch with debug level on the server = 9, this is
the error:

Oct 21 21:20:57 ns1 slapd[8531]: connection_read(12): checking for input
on id=0 
Oct 21 21:20:57 ns1 slapd[8531]: connection_read(12): TLS accept error
error=-1 id=0, closing 
Oct 21 21:20:57 ns1 slapd[8531]: connection_closing: readying conn=0
sd=12 for close 
Oct 21 21:20:57 ns1 slapd[8531]: connection_close: conn=0 sd=12 

and on the client 

ldap_bind: Can't contact LDAP server (81)

All works fine without ssl layer..

Both linux are Debian testing with slapd 2.1.30-3 and this file to pass
some options to the daemon

/etc/default/slapd
SLAPD_SERVICES="ldap://127.0.0.1:389/ ldaps:///"

Thanks in advance for every suggestion

-- 
saluti
Mirko