Install LDAP / Any Server Certificates
Below are the steps to add LDAP certificates to a new server
Steps
-
Copy
CA.b64andCA_PROXY_TREE.b64in/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.confand 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/cacertsfolder. It should have executable bit