have you tried calling perror() and PR_GetError() ? see
http://www.mozilla.org/projects/security/pki/nss/ref/ssl/sslerr.html
for the later. that should give you some more information
on what the issue might be.

Rufus Bheekhee wrote:
> Hi
> 
> I am have successfully connected to a Linux LDAP server using
> ldap_init however when I try to connect using SSL, I suffer problems
> using the ldapssl_client_init call as it always returns -1!
> 
> I have googled the problem and have used both the database path "C:\
> \certs" and included the filename "C:\\certs\cert7.db" in the path
> with no joy. I have also tried and earlier LDAP SDK 5.2 but that
> doesn't work either.
> 
> I have also ensured that the folder contains cert7.db AND cert8.db to
> cover both bases but ldapssl_client_init still returns -1.
> 
> I am using the compiled LDAP C SDK 6.0.3. binaries for Windows from
> ftp://ftp.mozilla.org/pub/mozilla.org/directory/c-sdk/releases/v6.0.4/
> this seems also to include all the required NSS (3.11.4) and NSPR
> libraries.
> 
> I also noticed that Saurabh Chopra had a similar problem but I cannot
> not even get it to work with LDAP C SDK 5.2. Unlike Saurabh I'm using
> Windows as my client not Red Hat.
> 
> Please help!
> 
> Thanks
> 
> Rufus
> 
> 
> _______________________________________________
> dev-tech-ldap mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-ldap
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to