Your LDAPVerifyServerCert Off
is rendering the trusted root configuration inert - so trust is not an issue.
Are there really that number of spaces in OU=Service Accounts
?
And do you have mod_ldap
and mod_authnz_ldap
enabled?
If neither of those are the issue, can you check your error logs for anything useful?
I would start by verifying the certificate as follows.
How to troubleshoot LDAP over SSL connection problems
http://support.microsoft.com/kb/938703
Step 1: Verify the Server Authentication certificate
Make sure that the Server Authentication certificate that you use meets the following requirements:
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:
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, click the following article number to view the article in the Microsoft Knowledge Base:
321051 How to enable LDAP over SSL with a third-party certification authority
http://support.microsoft.com/kb/321051
Step 5: Enable Schannel logging
Enable Schannel event logging on the server and on the client computer. For more information about how to enable Schannel event logging, click the following article number to view the article in the Microsoft Knowledge Base:
260729 How to enable Schannel event logging in IIS
http://support.microsoft.com/kb/260729
Best Answer
The LDAPS port is 636, not 686. Computers will call you out on attention to detail every time. Relentlessly.
Telnet won't work on SSL ports. You should use the openssl client:
openssl s_client -connect $ldap_host:636 -state -nbio 2>&1
. That'll open the SSL connection, and leave you with a telnet like interface when you're done.