πŸ“‹ LDAP: Exporting LDAPS certificate via MMC or OpenSSL

This article provides instructions for administrators on how to export the LDAP(S) certificate using the Microsoft Management Console (MMC) or the OpenSSL tool to provide it for updating on the FTAPI server.

Exporting LDAP(S) certificate

If user login via LDAP is no longer possible, the stored certificates may differ due to a one-sided renewal. To provide the new certificate to the FTAPI server, proceed as follows:

Please note that certificates may be automatically renewed a few weeks before the expiration date, depending on the certificate type you have chosen.

Certificate export via Microsoft Management Console (MMC)

  1. Open certificate store: Open the Microsoft Management Console (MMC) on the Domain Controller. Add the "Certificates" snap-in for the computer account.
  2. Navigate to "Certificates (Local Computer)" > "Personal" > "Certificates". 
     
  1. Select certificate: Find the certificate used for LDAPS. Usually, this is a certificate issued for the fully qualified domain name (FQDN) of the Domain Controller.
  2. Export certificate: Right-click the certificate and select "All Tasks" > "Export".
  3. Follow the instructions of the Certificate Export Wizard. Select the option **not** to export the private key.
  4. Select the desired file format (PEM format, Base-64 encoded X.509).
  5. Specify a storage location and a file name and click "Finish" to complete the export process.

Determining the certificate via OpenSSL (optional)

Start "openssl.exe" with the parameter s_client -showcerts -connect your.domain.controller:636

The command simulates an SSL handshake with the Domain Controller and outputs, among other things, the certificate used:

Copy the lines from -----BEGIN CERTIFICATE----- to -----END CERTIFICATE----- into a file.

Currently, the LDAP certificate can only be imported by FTAPI support. Please create a ticket if necessary; support will then provide you with a SubmitBox link where you can securely upload the aforementioned file.

Related articles

πŸ“‹ SSO: Exporting and updating SAML certificate (metadata) from IdP