Hi

i am trying to start an ldap connection over SSL

my code goes like this.

ldap_init(host,LDAPS_PORT);
ldap_set_option()

ldap_start_tls_s(handle,null,null);

when i call the ldap_start_tls_s() i get an error saying tat it cant contact the ldap server.

can u please tell me wat all options to set before i start the tls connection.


i have the CA certificate and the server certificate.
Can you tell me which certificate should i use in the code.

Thanks and Regards
Prasanth