When I want to validate a Tls mutual autentication with ldapsearch -H 
ldaps://…, I have an « peer did not return certificate » error message.
However, my /etc/openldap/ldap.conf (with r options) is configured with TLS 
options (certificate, CA, key, tls_verifyclient=demand,…).
I have no .ldaprc, LDAPRC, LDAPCONF environnement variable.
When I used Ldapsearch -H ldaps://… with options like   -o cert -o key -o 
cafile is Ok. 
I don’t understand why my ldap.conf is not read.

Reply via email to