Active Directory (LDAPS)
Copy link to the page “Active Directory (LDAPS)”Renews the certificate the domain controller serves for LDAPS (ports 636 and 3269), with nothing restarted.
Free for up to 5 servers
Renews the certificate the domain controller serves for LDAPS (ports 636 and 3269), with nothing restarted.
What happens
- The service agent on the server fetches the task from the appliance over outbound HTTPS, port 443.
- The Windows basics first import the certificate into the Windows certificate store (LocalMachine\My).
- Before anything changes, the integration checks that the server is a domain controller and that the certificate is in LocalMachine\My with its private key, is valid now, has Server Authentication and a chain the server can build. If it fails: Nothing changes. The result names the requirement that is not met.
- The certificate is registered in the NTDS service's own certificate store, which the domain controller reads before LocalMachine\My. Other certificates in that store are taken out and stay in LocalMachine\My, so the domain controller has one certificate to choose. Active Directory is then asked to read the store again (renewServerCertificate). No service and no server is restarted, and open connections continue. If it fails: The NTDS store is put back as it was, Active Directory reads it again, and the integration checks that ports 636 and 3269 serve the previous certificate.
- Verification: the integration makes a TLS handshake to port 636 on the server, and to port 3269 on a global catalog, and compares the served certificate with the new one.
Technical details
- Connection
- The integration runs through the service agent on the server. The service agent connects over outbound HTTPS to the appliance, port 443 by default. You open no port into the server.
- Service ports
- 636, 3269
- What you need
- The service agent installed on the server. The service agent runs on the domain controller itself as Local System. The Windows basics (windows-cert-install) import the certificate into LocalMachine\My in the same task and hand over its thumbprint. The LDAPS integration receives only the thumbprint and handles no private key.
- Platform
- Windows Server 2016 to 2025 as a domain controller
- Actions
- Discovery, Installation, Verification; no rollback action
- Integrations
-
windows-ldaps - Note
-
- Discovery shows which certificate ports 636 and 3269 serve, whether the domain controller has it from the NTDS store or picked it itself in LocalMachine\My, and which certificates are in the NTDS store. An expired certificate is named.
- A domain controller picks its LDAPS certificate itself: the NTDS store before LocalMachine\My, and among several Windows makes the choice. That is why the plan's certificate stands alone in the NTDS store after the deploy. No certificate and no private key is deleted.
- The certificate your own Windows CA issues to the domain controller stays in LocalMachine\My and is not changed. Kerberos and domain logon are not touched. StartTLS on ports 389 and 3268 serves the same new certificate as LDAPS.
- Each domain controller is a target of its own with its own service agent. Where clients use one shared name for several domain controllers, the certificate carries both that name and each server's own DNS name.
- LDAPS clients must trust the certificate's issuer. When you move from your internal CA to a public CA, systems that keep their own list of trusted roots need the public root first.
- AD LDS instances each have a certificate store of their own and are not included.
Certificate requirements
The integration accepts RSA 2048, 3072 and 4096 bits and ECDSA P-256 and P-384.
The certificate needs the Server Authentication extended key usage (1.3.6.1.5.5.7.3.1).
The domain controller's full DNS name must be in the Subject (CN) or in the Subject Alternative Name. Where it is missing, the certificate is deployed and the result says that clients connecting to the server's own name refuse it.
The chain must lead to a root that both the domain controller and the LDAPS clients trust. The integration refuses a certificate whose chain the server cannot build, before anything changes.
windows-ldaps imports nothing: the Windows basics (windows-cert-install) import the PFX or other format into LocalMachine\My and hand over the thumbprint. The private key stays where the import put it.
Manual installation
To install it by hand, get the certificate with Download on the certificate in the format Active Directory (LDAPS) uses: PEM, chain, DER, P7B, PFX or JKS. Install it with the product's own tool. The next discovery shows the new certificate, and you repeat the two steps at every renewal.
Next steps
Free for up to 5 servers
Renews the certificate the domain controller serves for LDAPS (ports 636 and 3269), with nothing restarted.