We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

LDAPS Connection Error - Unknown Hostname

AnotherNOWDev
Tera Expert

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?

 

Note: I've changed the ip address and hostname values with samples for disclosure

2 REPLIES 2

Tanushree Maiti
Giga Sage

Hi @AnotherNOWDev 

 

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

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

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

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: