LDAPS Connection Error - Unknown Hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2026 07:11 AM - edited 02-27-2026 09:49 AM
I've been trying to connect with LDAPS without any luck.
Our current connection to LDAP works completely fine if we use the IP address with the following format ldap://192.158.1.38:389/
After we installed the certificate I'm facing the following error
Error Message ldaps://example01.server.corp:636 Unknown host example01.server.corp
Verify server address and port are correct and accessible
The certificate was issued with the following name values:
example01.server.corp
server.corp
SERVER
Why am I getting an error when connecting to LDAPS?
UPDATE: The following powershell scripts were executed on the MID Server
Test-NetConnection 192.158.1.38 -Port 389 Successful
Test-NetConnection 192.158.1.38 -Port 636 Successful
Test-NetConnection example01.server.corp -Port 636 Error
Test-NetConnection server.corp -Port 636 Error
Note: I've changed the ip address and hostname values with samples for disclosure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2026 07:49 AM
Ensure MID server is up which you have mentioned in the configuration.
Run the telnet command to the IP of the LDAP server and specify the port that is being used and test it.
like telnet hostname/ip 389
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2026 07:51 AM
Check these post/ KB article if help you to debug:
https://www.servicenow.com/community/servicenow-ai-platform-forum/port-validation/m-p/1209155
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0517267
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0657528
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2026 09:15 AM
Regular LDAP connection using port 389 works completely fine. MID Server is up and running with successful ping connection to the AD Server IP.
The issue I'm having is with LDAP Secured with port 636.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2026 09:32 AM
Regarding LDAP with secure port 636 - Refer this post and check
LDAPs Integration enable port 636 - ServiceNow Community
