To follow this step, you must have the Certutil command-line tool installed.
Open the Output.txt file, and then search for errors.
Step 2: Verify the Client Authentication certificate
In some cases, LDAPS uses a Client Authentication certificate if it is available on the client computer. If such a certificate is available, make sure that the certificate meets the following requirements:
The enhanced key usage extension includes the Client Authentication object identifier (1.3.6.1.5.5.7.3.2).
The associated private key is available on the client computer. To verify that the key is available, use the certutil -verifykeys command.
The certificate chain is valid on the domain controller. To determine whether the certificate is valid, follow these steps:
On the client computer, use the Certificates snap-in to export the SSL certificate to a file that is named Clientssl.cer.
Copy the Clientssl.cer file to the server.
On the server, open a Command Prompt window.
At the command prompt, type the following command to send the command output to a file that is named Outputclient.txt:
Open the Outputclient.txt file, and then search for errors.
Step 3: Check for multiple SSL certificates
Determine whether multiple SSL certificates meet the requirements that are described in step 1. Schannel (the Microsoft SSL provider) selects the first valid certificate that Schannel finds in the Local Computer store. If multiple valid certificates are available in the Local Computer store, Schannel may not select the correct certificate. A conflict with a certification authority (CA) certificate may occur if the CA is installed on a domain controller that you are trying to access through LDAPS.
Step 4: Verify the LDAPS connection on the server
Use the Ldp.exe tool on the domain controller to try to connect to the server by using port 636. If you cannot connect to the server by using port 636, see the errors that Ldp.exe generates. Also, view the Event Viewer logs to find errors. For more information about how to use Ldp.exe to connect to port 636, see How to enable LDAP over SSL with a third-party certification authority.
If you have to perform SSL debugging on a computer that is running Microsoft Windows NT 4.0, you must use a Schannel.dll file for the installed Windows NT 4.0 service pack and then connect a debugger to the computer. Schannel logging only sends output to a debugger in Windows NT 4.0.
Learn how to troubleshoot AD DS service failures or degraded performance. Learn how to recover deleted security objects and the AD DS database, and how to troubleshoot hybrid authentication issues.
As a Windows Server hybrid administrator, you integrate Windows Server environments with Azure services and manage Windows Server in on-premises networks.