[Date Prev][Date Next]
trouble configure TLS in LDAP
- To: OpenLDAP-software@OpenLDAP.org
- Subject: trouble configure TLS in LDAP
- From: Thomas <firstname.lastname@example.org>
- Date: Mon, 12 Jan 2004 16:10:36 +0100
- Content-disposition: inline
- Organization: Mubis
- User-agent: KMail/1.5.4
I've some trouble running TLS with LDAP:
At first I created on my Linux LDAP-Server a Certificate Authority with
with the certification cacert.pem
The result of a check with 'CA.pl -verify cacert.pem' is 'OK'
After that I created a server certificate for my LDAP-Server with
CA.pl -newcert -> newreq.pem
and signed it with the Cerificate Authority
CA.pl -signcert -> newcert.pem
The result of a check with 'CA.pl -verify newcert.pem' is 'OK'
In a 3rd step I deleted the password in newreq.pem with
openssl rsa -in newreq.pem -out ldapkey.pem
Here is the first error when I try a check with
'CA.pl -verify ldapkey.pem' it says:
'unable to load certificate
18032:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:632:Expecting: TRUSTED CERTIFICATE'
I made a chmod 777 on the keys, no influence. Has anyone an idea what I'm
doing wrong ?
I also changed my slapd.conf with the entries:
After restarting slapd a 'openssl s_client -connect localhost:389 -showcerts'
18034:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake
Any help would be appreciated,
does someone know a good Link for a 'cookbook' for TLS with LDAP ?
Thanks in advance,