(Hidden) Configuring Active Directory LDAP SSL for Windows 2016 server using Microsoft Certificate Services
Created: 2013-05-31 14:37:37Modified: 2018-10-18 14:26:30
Tags:
By default all communications with LDAP servers (including Active Directory) are non-encrypted. This means any data (including credentials) will be sent in the clear. In order to protect your data and credentials you must configure your domain controller to allow SSL communications. In order to do this you must install an encryption certificate on the domain controller you wish to communicate with.
Install Certificate Manager
Go to Start > Administrative Tools > Server Manager
In the main window under Roles Summary, select Add Roles on the right
Check the box next to “Active Directory Certificate Services” (Should take you right to Add Features prompt)
Click Add Features Click Next, Click Next again. Click Next again.
Confirm “Active Directory Certificate Services” is selected. Click Install… Click Close.
Return to Server Manager, there should be a yellow flag and alert ( ! ) at the top right. Left click. Under “Post-deployment Configuration” left click “Configure AD Cert Svc” to begin configuration. (Can mostly accept the defaults.)
Click Credentials, Click Next.
CHECK Certification Authority and click Next
Leave Enterprise selected and click Next
Leave Root CA selected and click Next
Leave Create a new private key selected and click Next
Leave the defaults for Configure Cryptopgraphy for CA and click Next
Leave the defaults for Configure CA Name and click Next
Leave CA name as default.
Set validity to 99 years (or your choice) and click Next
Database locations - Leave defaults and click Next.
Click Configure
Confirm “Configuration Succeeded” and click Close
Close the Server Manager
Continue below to configure automatic cert request
Configure Automatic Certificate Request
Run gpmc.msc (Start > Search window or Command Prompt)
The Group Policy Management window will appear. On the left, navigate to
- Group Policy Management
- YourForest
- Domains
- YourDomain
- Group Policy Objects
- Default Domain Controllers Policy
Left click Default Domain Controllers Policy and select Edit.
Navigate to Default Domain Policy
- Computer Configuration
- Policies
- Windows Settings
- Security Settings
- Public Key Policies
- Automatic Certificate Request Settings
Right click New
Select Automatic Certificate Request and click Next
Leave defaults and click Next
Click Finish
If you have followed these steps to configure LDAP SSL and are still having issues, please contact your Microsoft support resource.