Hi,
How can i get an error specific to invalid CA certificate for an ldaps connection(LDAP over TLS)? Our flow is like this 1:ldap_initialize() 2:ldap_sasl_bind_s() But even if i import an invalid CA certificate on ldap client to verify the server certificate , i don't get any error specific to TLS handshake fail. ldap_sasl_bind_s()() always return -1.
Can you suggest someway to fetch this error from openldap?
Thanks, Smitha
I am able to catch error if i import an invalid ca certificate based on return of ldap_install_tls (ld);
Is there any other way?
Thanks, Smitha
openldap-technical@openldap.org