Tools
WHD 12.7 and later: Unable to connect to LDAP on a secure LDAPS port
When you connect to LDAP using a secure standard or non-standard port, Transport Layer Security (TLS) fails. This issue occurs on WHD servers running WHD 12.7 and later.
First published date
Last published date
Overview
The following error may display in the console:
No subject alternative DNS name matching <your_AD/LDAP_server> foundor
Error while attempting to authenticat to LDAP Connection. Cannot load from object array because "com.macdesign.util.TrustinSocketFactory._trustManagers" is null
To improve the robustness of secure LDAP over TLS (LDAPS) connections, endpoint identification algorithms in Java are enabled by default. In older Java versions, the validation was off by default. This is why you may not have experienced this issue before.
Product section
Cause
Resolution
Reset the Host/Domain Controller target setting in the Web Help Desk Administrator Console or secure the WHD server with a certificate matching your host/domain controller.
Reset the Host/Domain Controller target
- Log in to the Web Help Desk Administrator Console as an administrator.
- Click Setup > Clients > AD/LDAP Connections.
- In the LDAP Connections window, click a connection.
- Click the Connection Basics tab.
- In the Host/Domain Controller field, select the LDAP server's Fully Qualified Domain Name (FQDN) attribute.
- Click Test Settings to verify the connection.
- Click Done.
- Log out and then log back in to WHD.
- Verify that the LDAP connection is good and an error message does not display in the console.
Secure the WHD server with a certificate matching your host/domain controller
- Log in to the Web Help Desk Administrator Console as an administrator.
- Click Setup > Clients > AD/LDAP Connections.
- In the LDAP Connections window, click a connection.
- Click the Connection Basics tab.
- Locate the Host/Domain Controller field.
- Contact your AD/LDAP administrator.
- Ask your administrator to secure the server with the certificate matching the host name used in the Host/Domain Controller field.
- Import a copy of the certificate into the embedded Java cacert store.
- Log out and then log back in to WHD as an administrator.
- Verify that the LDAP connection is good and an error message does not display in the console.
If the problem started only after upgrading to version 12.7.5
- Log in to your Customer Portal account page.
- Download and apply the WHD 12.7.5 Hotfix 1 .
AD/LDAP Connection Test Failed in the Web Help Desk