Install LDAP / Any Server Certificates
Below are the steps to add LDAP certificates to a new server
Steps
-
Copy
CA.b64
andCA_PROXY_TREE.b64
in/etc/ldap/cacerts
. Create folder if necessarymkdir -pv /etc/ldap/cacerts cd /etc/ldap/cacerts scp cms9:/etc/ldap/cacerts/CA* .
-
Edit
/etc/ldap/ldap.conf
and add the following lines:TLS_CACERT /etc/ldap/cacerts/CA_PROXY_TREE.b64 URI ldaps://ldap.example.com:636
-
Try whether the following command succeds:
ldapsearch -H ldaps://ldap.example.com:636 -x cn=prabin
-
Check the permission of
/etc/ldap/cacerts
folder. It should have executable bit