Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Connecting Active Directory via LDAPS through MID Server - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Connecting Active Directory via LDAPS through MID Server
KB0825425

Connecting Active Directory via LDAPS through MID Server


17807 Views Last updated : May 1, 2023 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

This KB explains how to connect Active Directory via LDAPS through MID Server when you are using a self-signed certificate.

The mid server documentation states:

 

 

"Note: Internal endpoints or URLs need to possess a valid CA signed certificate for a successful connection.

For endpoints that host a self-signed certificate, either import the certificate to the MID Server truststore or disable the policy checks which validate that host. For more information about adding certificates, see Add SSL certificates for the MID Server."

 

https://docs.servicenow.com/bundle/utah-servicenow-platform/page/product/mid-server/concept/mid-security-checks.html

 

Kindly follow the below steps to connect Active Directory via LDAPS through MID Serve if you are using a Self Signed Certitifcate, a CA signed certificate does not require the extra steps described below.

 

 

Step 1: As communication happens securely over SSL. As a first step need to upload the certificate to the MID Server. Please refer to the below documentation to know how to upload the certificate to the MID Server.

Add SSL certificates for the MID Server

 

Step 2: In Servicenow instance, navigate to System LDAP > LDAP Servers > LDAP Record (which you are going to change from LDAP to LDAPS)

 

Step 3: Open the LDAP server form, in the LDAP server URL, change the URL from LDAP to LDAPS and port 389 to 636 (Default port).

 

Step 4: If you are creating a new LDAP server, whenever you select the MID Server then the SSL flag (which is in the form) will set to false by default. Kindly ignore this behavior.

As we have already done the changes in the connection URL communication happens through LDAPS only.

 

Sample Image of LDAPS connection URL and SSL flag

 

Sample LDAPS configuration

Release

All Releases


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.