--On Friday, December 27, 2024 2:17 PM +0000 Eric M em.job35@gmail.com wrote:
I just want to perform a ldapsearch search with TLS mutual authentication. My backend require mutual authentication because the parameter TLS_REQCERT is demanded. On my client server, i configured my LDAP.conf with his TLS parameters. An OpenSSL test is ok when I check and give all the certificate parameters in command line. But, with my search with ldapsearch, i notice an error « peer did not return certificate » with LDAP.conf configured.
Hi Eric,
You have two options:
a) Use a user specific .ldaprc file to set user specific TLS options
or
b) Use the -o command line switch for the client binaries as documented in the man page. Example also exists in test067-tls in the test suite.
Regards, Quanah