Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

LDAPS

Direct answer

LDAPS is LDAP over TLS on port 636, encrypting directory traffic so passwords in binds cannot be sniffed. Domain controllers need a valid server certificate for their FQDN.

When to use this

Use this when encrypting LDAP traffic with TLS on port 636.

First 30 seconds

1. LDAPS = LDAP over TLS on 636.

2. DCs need a valid certificate (Server Auth, DC name in SAN).

3. Clients must trust the CA.

4. Renew certificates automatically.

5. Prefer over simple binds on 389.

Operational verification

client → TLS 636 → DC certificate → LDAP

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Identity, authentication and access control
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformIdentity, authentication and access control
Scope / prerequisiteUse this when encrypting LDAP traffic with TLS on port 636.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Setting up LDAPS Narrow the fault

1. Issue a certificate to each DC with Server Authentication EKU and the DC's FQDN (Domain Controller Authentication or Kerberos Authentication templates work).

2. The DC picks it up automatically (or restart AD DS/reboot).

3. Clients must trust the issuing CA.

Test: openssl s_client -connect dc01.example.com:636 -showcerts or ldp.exe with SSL on port 636. Combine with LDAP signing and channel binding for full protection.

Step 2 Common mistakes Narrow the fault
  • DCs presenting expired or wrong-name certificates on 636.
  • Clients not trusting the issuing CA.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • DCs need a certificate for their FQDN.
  • Clients must trust the issuing CA.
  • Expired certificates break LDAPS.
Key checks
  • openssl s_client -connect <dc>:636 -showcerts </dev/null — LDAPS certificate
  • ldapsearch -H ldaps://<dc> -x -b '' -s base — LDAPS works
  • certutil -store my — DC certificates
ReferenceImportant terms & boundaries2 sections · depth on demand

Platform, version and operating-envelope scope

LDAPS behaviour depends on the domain controller's certificate (from AD CS or another CA), the Windows Server version and client TLS settings; LDAP channel binding and signing requirements were tightened by Microsoft updates and should be checked per environment.

In depth

LDAPS is LDAP over TLS on port 636 (or StartTLS on 389), encrypting directory traffic and protecting credentials in simple binds. Domain controllers need a valid server certificate — usually from an enterprise CA with automatic enrolment — for LDAPS to work.

Test-NetConnection dc01.corp.example.com -Port 636
openssl s_client -connect dc01.corp.example.com:636 -showcerts </dev/null | openssl x509 -noout -subject -dates
ldapsearch -H ldaps://dc01.corp.example.com -D 'svc_ldap@corp.example.com' -W -b 'dc=corp,dc=example,dc=com' '(sAMAccountName=ahansen)'

Certificates must include the DC's FQDN in the Subject Alternative Name, and clients must trust the issuing CA. Track certificate expiry — an expired DC certificate silently breaks every LDAPS-dependent application.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docIdentity, authentication and access control current

Authoritative/upstream documentation reviewed for bounded claims in Active Directory Security → LDAPS. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows/security/ · confidence 94%
Confirmation

Confirm action

Continue?