Verify Active Directory SSL

Verify Active Directory SSL

How can I check if my Microsoft Active Directory Domain controller / LDAP Server has SSL ?
 
The following URL has a nice write up about the Microsoft Tool called LDP.exe
http://www.computerperformance.co.uk/w2k3/utilities/ldp.htm

You can download ldp.zip directly from here : http://www.computerperformance.co.uk/ScriptsGuy/ldp.zip

or copy from your Windows 2000 / 2003 Support Tools CD.

Microsoft says :
Verifying an LDAPS connection
After a certificate is installed, follow these steps to verify that LDAPS is enabled:

1. Start the Active Directory Administration Tool (Ldp.exe).
2. On the Connection menu, click Connect.
3. Type the name of the domain controller to which you want to connect.
a. You must use a proper DNS name for the SSL test to work.
4. Type 636 as the port number and check the SSL box
5. Click OK.

RootDSE information should print in the right pane, indicating a successful connection.


If you get an error saying, "Cannot open connection," LDP cannot establish a secure connection to the directory server. In this case, it's very likely that the server is not configured properly for LDAP over SSL. Verify the server name/IP address and port number. You can also use the Portqry tool to verify that the directory server is listening on the correct port.

The following LDP output (for server name dc01) indicates that the connection failed because the certificate used in the SSL connection cannot be trusted:
ld = ldap_sslinit("dc01", 636, 1);
Error <0x0> = ldap_set_option(hLdap,LDAP_OPT_PROTOCOL_VERSION, LDAP_VERSION3);
Error <0x51> = ldap_connect(hLdap, NULL);
Server error: {empty}
Error <0x51>: Fail to connect to dc01.

You can test connecting non ssl communication by unchecking the SSL box and changing the port to 389

The same ldp.exe program can also be used to test the connection to the Global Catalog.
Follow the same steps as before, but change the ports.
The Non SSL port for the global catalog is 3268
The SSL port for the global catalog is 3269

Another tool that is good for checking the SSL cert can be downloaded from here

    Can't find the KB

    Unable to find the KB to address your issue ?  

      • Recent Articles

      • Lenovo Unified Workspace 7.0.2.5 Released

        Highlights of Unified Workspace 7.0.2.5 Before you install: Please view the installation notes here. 7.0.2.5 requires a 7.0 license file. Below is a list of enhancements and fixes for Unified Workspace 7.0.1.41 Fixed external storage providers oauth ...
      • Lenovo Unified Workspace 7.0.1.41 Released

        Highlights of Unified Workspace 7.0.1.41 Before you install: Please view the installation notes here. 7.0.1.41 requires a 7.0 license file. Below is a list of enhancements and fixes for Unified Workspace 7.0.1.41 Updated Log4j Updated Java Updated ...
      • Alternative Product for Unified Workspace

        Unfortunately, Lenovo Software does not have an alternative product in which to migrate. To our knowledge, there just isn't any other single product out there that can do all that Lenovo Unified Workspace (LUW) was able to do. In searching for ...
      • Retiring Unified Workspace

        Lenovo and Stoneware are committed to providing the highest quality products and services to our customers. As part of our continued focus on innovation, we will be retiring Unified Workspace (formerly Stoneware webNetwork), effective January 31, ...
      • Assigned tiles not showing due to missing back-link

        Question We have several staff members that can't see a specific assigned tile/link. The tile has many group assignments the user is a member of, but when I view User Access and look at the assigned Link Sources, the tile/link is not listed. Issue ...