Copy the rootCA.cer certificate file to /etc/pki/ca-trust/source/anchors/ directory.
Run the update-ca-trust extract command to update the system certificates.
Copy the rootCA.cer certificate file to /etc/pki/trust/anchors directory.
Run the update-ca-certificates command to update the system certificates.
NOTE:If you are using an older version of the operating system, use the below commands:
The LDAP CA certificate must be placed in the /etc/ssl/certs/ folder
Run command c_rehash.
The c_rehash command is deprecated in newer versions of Linux operating system.
HINT:In case you face any issue, ensure that host names used in certificates are resolvable from your PAM manager server to the target LDAP server.