I am trying to connect to Active Directory with a C program that I have written using the Netscape SDK. I have no problem connecting to AD without SSL via port 389 and I can also connect to Netscape Directory Server in both SSL and non SSL mode. For some reason, I am not able to get through to an AD server on port 636. The server uses credentialed users and does not require client side authentication. I use ldapssl_pkcs_init to initialize and then ldapssl_init to continue the verification. The problem is that ldapssl_init comes back with a cannot connect value everytime. Has anyone else had problems with this? Is there some way to trace it or verify that the cert file is valid? Any help would be greatly appreciated...
