Skip to content

Commit 6940c95

Browse files
committed
Editorial updates
1 parent d35b395 commit 6940c95

3 files changed

Lines changed: 117 additions & 112 deletions

File tree

WindowsServerDocs/identity/ad-ds/configure-ldap-signing-certificates.md

Lines changed: 47 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,28 @@ author: robinharwood
55
ms.author: roharwoo
66
ms.service: windows-server
77
ms.topic: how-to
8-
ms.date: 12/17/2025
9-
8+
ms.date: 12/18/2025
9+
ai-usage: ai-assisted
1010
#CustomerIntent: As a domain administrator, I want to configure LDAP over SSL certificates so that LDAP communications with my domain controllers are encrypted and secure.
1111
---
1212

1313
# Configure certificates for LDAP over SSL in Active Directory Domain Services
1414

1515
LDAP over SSL (LDAPS) encrypts LDAP communications between clients and domain controllers using SSL/TLS certificates. This article shows you how to create, install, and verify SSL certificates for LDAPS on domain controllers using either Microsoft certification authorities or third-party certificate providers.
1616

17-
By default, LDAP traffic transmits unencrypted over port 389. LDAPS establishes an encrypted SSL/TLS tunnel over port 636 (or port 3269 for global catalog traffic), protecting authentication credentials and directory queries from interception. Installing a properly formatted certificate on your domain controller automatically enables the LDAP service to accept SSL connections without additional configuration. To learn more about LDAP signing and channel binding security features, see [LDAP signing for Active Directory Domain Services](ldap-signing.md).
17+
By default, LDAP traffic transmits unencrypted over port 389. LDAPS establishes an encrypted SSL/TLS tunnel over port 636 (or port 3269 for global catalog traffic), which protects authentication credentials and directory queries from interception. When you install a properly formatted certificate on your domain controller, you automatically enable the LDAP service to accept SSL connections without any extra configuration. For more information about LDAP signing and channel binding security features, see [LDAP signing for Active Directory Domain Services](ldap-signing.md).
1818

1919
## Prerequisites
2020

21-
Before configuring LDAPS certificates, ensure you have:
21+
Before configuring LDAPS certificates, make sure you have:
2222

23-
- Administrative privileges on the domain controller where you'll install the certificate
23+
- Administrative privileges on the domain controller where you install the certificate
2424

2525
- Access to a certification authority (CA):
2626

2727
- Microsoft Enterprise Certificate Authority with published certificate templates, or
2828

29-
- Third-party certificate provider (such as DigiCert, Let's Encrypt, or Verisign)
29+
- Third-party certificate provider such as DigiCert, Let's Encrypt, or Verisign
3030

3131
- Firewall rules configured to allow inbound connections on TCP port 636 for LDAPS (or TCP port 3269 for global catalog LDAPS traffic)
3232

@@ -42,46 +42,46 @@ LDAPS certificates must meet the following requirements:
4242

4343
- **Trust chain**: Must be issued by a CA that both the domain controller and LDAPS clients trust
4444

45-
Domain controllers and clients establish trust by configuring them to trust the root CA to which the issuing CA chains.
45+
You establish trust between domain controllers and clients by configuring them to trust the root CA to which the issuing CA chains.
4646

4747
## Create the certificate request
4848

49-
You can create and install LDAPS certificates using either a Microsoft Enterprise CA or a third-party CA. The certificate must be installed in one of the following locations:
49+
You can create and install LDAPS certificates using either a Microsoft Enterprise CA or a third-party CA. You must install the certificate in one of the following locations:
5050

5151
- **Local Computer's Personal certificate store**
5252
- **NT Directory Services (NTDS) certificate store**
5353

5454
Active Directory preferentially checks the NTDS store first. Using the NTDS store provides several advantages:
5555

56-
- **Preferential selection**: Active Directory checks the NTDS store first, making it easier to control which certificate is used when multiple valid certificates exist in the Local Computer's store
57-
- **Automatic detection**: Active Directory detects new certificates dropped into the NTDS store and updates SSL certificates without requiring a domain controller restart
58-
- **Manual refresh capability**: You can trigger certificate updates using the renewServerCertificate rootDSE operation without restarting the domain controller
56+
- **Preferential selection**: Active Directory checks the NTDS store first, making it easier to control which certificate is used when multiple valid certificates exist in the Local Computer's store.
57+
- **Automatic detection**: Active Directory detects new certificates dropped into the NTDS store and updates SSL certificates without requiring a domain controller restart.
58+
- **Manual refresh capability**: You can trigger certificate updates by using the renewServerCertificate rootDSE operation without restarting the domain controller.
5959

6060
To use the NTDS certificate store, import certificates into the Personal certificate store for the NTDS service instead of the Local Computer's Personal store.
6161

6262
### [Microsoft Enterprise CA](#tab/microsoft-enterprise-ca)
6363

64-
If your domain controller has access to a Microsoft Enterprise Certificate Authority, you can request a certificate using the built-in Domain Controller certificate template. To learn more about certificate templates, see [Manage certificate templates](../ad-cs/manage-certificate-templates.md). To request and install the certificate, follow these steps:
64+
If your domain controller can access a Microsoft Enterprise Certificate Authority, you can request a certificate using the built-in Domain Controller certificate template. For more information about certificate templates, see [Manage certificate templates](../ad-cs/manage-certificate-templates.md). To request and install the certificate, follow these steps:
6565

6666
1. On the domain controller, press **Windows key + R**, type **certlm.msc**, and press **Enter**.
6767

68-
2. Expand **Personal**, then right-click **Certificates** and select **All Tasks** > **Request New Certificate**.
68+
1. Expand **Personal**, right-click **Certificates**, and select **All Tasks** > **Request New Certificate**.
6969

70-
3. In the Certificate Enrollment wizard, select **Next**.
70+
1. In the Certificate Enrollment wizard, select **Next**.
7171

72-
4. Select **Active Directory Enrollment Policy**, then select **Next**.
72+
1. Select **Active Directory Enrollment Policy**, and select **Next**.
7373

74-
5. Select the **Domain Controller** certificate template checkbox.
74+
1. Select the **Domain Controller** certificate template checkbox.
7575

76-
6. Select **Enroll**.
76+
1. Select **Enroll**.
7777

78-
The certificate is automatically installed in the Local Computer's Personal certificate store. The Domain Controller template is preconfigured with the correct properties for LDAPS, including:
78+
The process automatically installs the certificate in the Local Computer's Personal certificate store. The Domain Controller template comes preconfigured with the correct properties for LDAPS, including:
7979

8080
- Server Authentication enhanced key usage
8181
- The domain controller's FQDN in the Subject Alternative Name
8282
- Automatic renewal before expiration
8383

84-
After enrollment completes, restart the domain controller to enable LDAPS.
84+
After the enrollment finishes, restart the domain controller to enable LDAPS.
8585

8686
### [Third-party CA](#tab/third-party-ca)
8787

@@ -116,72 +116,77 @@ Use the Certreq.exe utility to create a certificate request that meets LDAPS req
116116
;-----------------------------------------------
117117
```
118118

119-
Some third-party certification authorities require additional information in the Subject parameter, such as email address (E), organizational unit (OU), organization (O), locality or city (L), state or province (S), and country or region (C). You can append this information to the Subject name. For example:
119+
Some third-party certification authorities require additional information in the Subject parameter, such as email address (E), organizational unit (OU), organization (O), locality, or city (L), state or province (S), and country or region (C). You can append this information to the Subject name. For example:
120120

121121
```ini
122122
Subject="E=admin@contoso.com, CN=dc01.contoso.com, OU=Servers, O=Contoso, L=Redmond, S=Washington, C=US"
123123
```
124124

125-
2. Open an elevated command prompt and navigate to the folder containing **request.inf**.
125+
1. Open an elevated command prompt and go to the folder containing **request.inf**.
126126

127-
3. Generate the certificate request file by running:
127+
1. Generate the certificate request file by running:
128128

129129
```cmd
130130
certreq -new request.inf request.req
131131
```
132132

133133
This command creates a new file named **request.req** containing the base64-encoded certificate request.
134134

135-
4. Submit **request.req** to your certification authority:
136-
- For Microsoft Enterprise CA: Use the CA's web enrollment interface or submit through the Certification Authority console
137-
- For third-party CA: Follow your provider's certificate request submission process
135+
1. Submit **request.req** to your certification authority:
136+
- For Microsoft Enterprise CA: Use the CA's web enrollment interface or submit through the Certification Authority console.
137+
- For third-party CA: Follow your provider's certificate request submission process.
138138

139139
#### Install the certificate
140140

141141
After receiving the issued certificate from your certification authority, install it on the domain controller.
142142

143143
1. Save the issued certificate as **certnew.cer** in the same folder as your request file. The certificate must be base64-encoded. Some third-party CAs return certificates as base64-encoded text in email messages that you can copy into a new .cer file.
144144

145-
2. Open an elevated command prompt and navigate to the folder containing **certnew.cer**.
145+
1. Open an elevated command prompt and go to the folder containing **certnew.cer**.
146146

147-
3. Install the certificate by running:
147+
1. Install the certificate by running:
148148

149149
```cmd
150150
certreq -accept certnew.cer
151151
```
152152

153-
4. Verify the certificate installation:
153+
1. Verify the certificate installation:
154154

155155
1. Press **Windows key + R**, type **mmc.exe**, and press **Enter**.
156-
2. Select **File** > **Add/Remove Snap-in**.
157-
3. Select **Certificates**, select **Add**, choose **Computer account**, select **Next**, choose **Local computer**, and select **Finish**.
158-
4. Select **OK** to close the Add/Remove Snap-in dialog.
159-
5. Expand **Certificates (Local Computer)** > **Personal** > **Certificates**.
160-
6. Locate the newly installed certificate. The **Intended Purposes** column should display **Server Authentication**, and the **Issued To** field should show the computer's fully qualified domain name.
156+
1. Select **File** > **Add/Remove Snap-in**.
157+
1. Select **Certificates**, select **Add**, choose **Computer account**, select **Next**, choose **Local computer**, and select **Finish**.
158+
1. Select **OK** to close the Add/Remove Snap-in dialog.
159+
1. Expand **Certificates (Local Computer)** > **Personal** > **Certificates**.
160+
1. Locate the newly installed certificate. The **Intended Purposes** column should display **Server Authentication**, and the **Issued To** field should show the computer's fully qualified domain name.
161161

162-
5. Restart the domain controller to enable LDAPS.
162+
1. To enable LDAPS restart the domain controller.
163163

164164
---
165165

166166
## Verify LDAPS connectivity
167167

168-
After installing the certificate and restarting the domain controller, verify that LDAPS connections work correctly.
168+
After you install the certificate and restart the domain controller, verify that LDAPS connections work correctly.
169169

170170
1. On the domain controller or a domain-joined client computer, open an elevated command prompt.
171171

172-
2. Start the Active Directory Administration Tool by running:
172+
1. Start the Active Directory Administration Tool by running:
173173

174174
```cmd
175175
ldp.exe
176176
```
177177

178-
3. In LDP, select **Connection** > **Connect**.
178+
1. In LDP, select **Connection** > **Connect**.
179179

180-
4. In the **Connect** dialog:
181-
- **Server**: Type the name of the domain controller
182-
- **Port**: Type **636**
183-
- Select the **SSL** checkbox
180+
1. In the **Connect** dialog:
181+
- **Server**: Type the name of the domain controller.
182+
- **Port**: Type **636**.
183+
- Select the **SSL** checkbox.
184184

185-
5. Select **OK**.
185+
1. Select **OK**.
186186

187187
When the connection succeeds, RootDSE information appears in the right pane, confirming LDAPS is functioning. If the connection fails, verify the certificate properties match the requirements and check that the domain controller was restarted after certificate installation.
188+
189+
## Next steps
190+
191+
> [!div class="nextstepaction"]
192+
> [Manage LDAP signing using Group Policy](manage-ldap-signing-group-policy.md)

0 commit comments

Comments
 (0)