Using OpenSSL on Any Platform to get the LDAPS Certificate from the AD Server
Using OpenSSL should work with any Active Directory Server platform. (Windows, Linux etc.). I use Windows in my case
Requirements:
- Openssl
- FQDN or IP of the Active Directory Server
- LDAPS certificate installed in the Active Directory Server certificate store
Steps:
- Run the following command from your local computer:
openssl s_client -showcerts -connect <ip or fqdn of your active directory server>:636 - In the output, copy the certificate portion of the output to a text file
3. Save the text file as my_ldaps_cert.pem.
The saved certificate can be installed into any software that needs to connect to your Active Directory using LDAPS.
You must be logged in to post a comment.