Ref. stackoverflow: How to save the LDAP SSL Certificate from OpenSSL
echo -n | openssl s_client -connect ldapServer:636 | sed -ne ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’ > ldapserver.pem
Ref. stackoverflow: How to save the LDAP SSL Certificate from OpenSSL
echo -n | openssl s_client -connect ldapServer:636 | sed -ne ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’ > ldapserver.pem