I already had this in /etc/openldap/ldap.conf
...
...
tls_cacert /etc/openldap/cacert/ca.crt
tls_cacertdir /etc/openldap/cacert
tls_cert /etc/openldap/certs/myhost.crt
tls_key /etc/openldap/certs/myhost.key
..
Jeff Warnica <jeffw@chebucto.ns.ca> Sent by: owner-openldap-software@OpenLDAP.org
10/22/2004 07:50 PM
To
Barrow H Kwan <bhkwan@thoughtworks.com>
cc
OpenLdap Software List <openldap-software@OpenLDAP.org>
Subject
Re: problem with ldapsearch/TLS (
or Fedora Core 2?? )
On Thu, 2004-21-10 at 19:16 -0700, Barrow H Kwan wrote
>
> [root@myhost root]# ldapsearch -H ldap://myhost.domain.com -D
> uid=user1,ou=People,dc=Corporate,dc=Domain,dc=COM -x -W -ZZ
> ldap_start_tls: Connect error (91)
> additional info: error:14090086:SSL
> routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
<snip>
> : is it a problem with ldapsearch ?
Unlikely. Does ldapsearch know about your CA certs? Note
that /etc/ldap.conf is for pam/nss _only_, everything else uses,
ie, /erc/openldap/ldap.conf ... at least with all the RH/Fedora RPMs.
If that doesn't work, run ldapsearch with "-d -1" and see if
that gives
any hits.