Unable to get a successful LDAPS connection to the DC from the vault over port 636 and SSL enabled
210
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:11 PM
Symptom
LDAP integration is working good with port 389 and no SSL, but When configuring LDAP integration to use SSL and port 636 the following error occurs:
Failed to connect to host, Reason: Failed to connect to LDAP host "dc01.cybr.com" with user "bind!2@cybr.com". Code(21, 81) (21)
Things that have already been checked:
- Root CA and intermediate certificates for the DC have been installed on the vault server (and expired certificates removed)
- Outbound port 636 has been opened in the Windows Firewall for testing with the ldp.exe tool
- TNC on port 636 from the vault to the DC via PowerShell yields a True result
- The vault is able to ping the DC by FQDN, and the FQDN is mentioned in the DC's server certificate as the Subject or SAN
- Testing a connection to the DC by FQDN with ldp.exe tool over port 636 and SSL checked works from other machines (domain joined and non-members).
When attempting a connection to the DC, the connection is refused by the domain controller. This can be seen in a WireShark capture, immediately after the vault sends a Client Hello over TLS 1.2:
ldp.exe tool:
WireShark:
System Event Viewer:
Environment
10.10;11.5;12.2;12.4;12.6;13.0;14.2 Privileged Access Manager (PAM, self-hosted) Vault Server Vault Server Ldap integration
Cause
A potential cause could be that the DC does not have the supported Cipher Suites enabled, that the vault is using.
Resolution
As the recommended and used cipher suites have changed with newer versions, the customer might need to update the domain controller to enable the cipher suites recommended by CyberArk.
For a list of recommended Cipher Suites please see the official documentation:
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PAS%20SysReq/System%20Requirements%20-%20Digital%20Vault.htm#Supportedciphersuites
You can use a GUI tool such as IIS Crypto GUI to see what cipher suites are enabled on each server