[Date Prev][Date Next]
RE: LDAPS: ldapsearch working, back-ldap failing?
Okay. Egg on my face.
Thank you for the recommendation to build a newer release. Although it
didn't end up fixing the issue per se, it forced me to dig further, to
conclude that it wasn't related to the OpenLDAP version (I built a newer
one) or NSS (I built it against OpenLDAP as well). As it turns out, it ended
up being an selinux issue where the process couldn't read the CA cert.
So, it turns out it was my fault, but thank you very much for the driver to
[mailto:openldap-technical-bounces@OpenLDAP.org] On Behalf Of Michael
Sent: Wednesday, April 02, 2014 12:03 AM
To: Mitchell Im; email@example.com
Subject: Re: LDAPS: ldapsearch working, back-ldap failing?
Mitchell Im wrote:
> The OpenLDAP proxy works if it
> connects to the backend LDAP server via ldap://. The OpenLDAP proxy does
> *not* work if it connects to the backend LDAP server via ldaps://, though.
> What am I missing?
> This is on CentOS 6.5, packages openldap-servers-2.4.23-34.el6_5.1.x86_64,
> nss-3.15.3-6.el6_5.x86_64 (Red Hat's decision).
I vaguely remember a bug in this old version regarding TLS CA cert
Try to set the LDAPTLS_CACERT env var when starting slapd or better use a
newer release which has a fix for this.