The most common error when configuring TLS, as I have already mentioned numerous times, is that the
Common Name (CN)
you entered in
the section called “Generating the Server Certificate” is
NOT
the Fully Qualified Domain Name (FQDN) of your ldap server.
Other errors could be that you have a typo somewhere in your
ldapsearch
command, or that
your have the wrong permissions on the servercrt.pem and cacert.pem
files. They should be set with
chmod 640
, as per
the section called “Installing the Certificates”.
For anything else, it's best to read through your ldap logfile or join the OpenLDAP mailing list.
|