Artica Wiki

Enable Active Directory LDAP SSL on Windows 2019/2022

Adding certificate on WINDOWS Server 2019/2022 for LDAP | Active Directory for secure connection.

Setup LDAPS (LDAP over SSL)

A) Install Active Directory Certificate Services (AD CS)

First, install Active Directory Certificate Services (AD CS) by doing the following:

B) Configure AD CS

In the section Setup Type, choose your preferred CA type (prefered Entreprise CA ) then select the button Next >.

In the section CA Type, select the radio button Root CA then select the button Next >.

Activate LDAP SSL 

Once the certificate has been installed, the DC server’s bindings need to be updated.

dn:
changetype: modify
add: renewServerCertificate
renewServerCertificate: 1
-

ldifde -i -f renew.txt

To check if LDAP ssl and 636 is open, in PowerShell run 

ldp ldaps://yourhostname