[SLE] openldap and tls
From: HK (thelistbox_at_yahoo.com)
Date: 02/23/05
- Previous message: Randall R Schulz: "Re: [SLE] Mozilla thunderbird"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 22 Feb 2005 22:26:35 -0800 (PST) To: suse-linux-e@suse.com
Has anyone gotten this to work? I've spent _HOURS_ over several days trying.
SuSE 9.2 PRO
openldap 2.2.15-5.2
openssl 0.9.7d-25
Create my own CA key and self signed cert.
Create key and cert for ldap.server.net.
This matches hostname -f
Sign ldap.server.net.pem cert with CA cert.
Use openssl verify to check ldap.server.net.pem against ca.pem. OK.
Add the following to /etc/openldap/slapd.conf:
TLSACACertificateFile /etc/openldap/certs/ca.pem
TLSCertificateFile /etc/openldap/certs/ldap.server.net.pem
TLSCertificateKeyFile /etc/openldap/keys/ldap.server.net.key
Add the following to /etc/openldap/ldap.conf
TLS_CACERT /etc/openldap/certs/ca.pem
try to start slapd with:
slapd -d 1
errors are:
TLS: private key mismatch
TLS: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
main: TLS init def ctx failed: -1
slapd starts as long either TLSACACertificateFile or TLSCertificateKeyFile are
commented out in slapd.conf.
I've made sure ldap is owner and group of /etc/openldap/certs and
/etc/openldap/keys.
Have gone thru key and cert creation process several times for CA and server.
Since the server cert verify OK - maybe I have something wrong with the server key
or in a config file somewhere.
But what or where?
Any suggestions would be greatly appreciated.
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Randall R Schulz: "Re: [SLE] Mozilla thunderbird"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|