[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
reg ldap over ssl
- To: openldap-software@openldap.org
- Subject: reg ldap over ssl
- From: "prasanth allada" <prasanth.allada@gmail.com>
- Date: Tue, 1 Jul 2008 19:46:25 +0530
- In-reply-to: <a07dd2c70807010542k6dbdaef7nb7d3f7461cb328e1@mail.gmail.com>
- References: <a07dd2c70807010542k6dbdaef7nb7d3f7461cb328e1@mail.gmail.com>
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