Hi , I am trying to use SSL for Ldap. I downloaded the required Mozilla C SDK and the NSPR & NSS binaries. I tried running executing the sample that came with the SDK. The program terminates when it encounters the ldapssl_client_init() / ladpssl_clientauth_init() functons.
I have the cert7.db & key3.db path provided, but the function always returns a -1 . and terminates. I am not sure where i am going wrong ? Is it because of the certs that i am using being corrupted? or am i having incorrect libraries. 1)The documentation says that libldap50.so /libldap60.so (I am using linux ) comes with the required ssl enabled functions. Do i still need NSPR & NSS. Is there a dependency ? 2) I tried giving the entire path to the cert and just the directory. Both options did not work out. 3) I am using mozilla c SDK 5.17 . Do i have to use the latest version ? Any help is greatly appreciated. I do not have much debugging info since the ldapssl_client_init() is the first function and once that fails, no more info to debug the cause for failure. _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
