How to disable SSLv3 and keep only TLS for LDAP connection.

  • Thread starter Thread starter Sergey Orekhov
  • Start date Start date
S

Sergey Orekhov

Guest
Hi,

I'm planning to keep only TLSv1.2 for LDAP connections.

I tried to set LDAP_OPT_SSL_INFO in LDAP Session Options using a SecPkgContext_ConnectionInfo Structure with dwProtocol SP_PROT_TLS1_2_CLIENT(as described here - How to set up TLS in LDAP connection.), but it returns LDAP_PARAM_ERROR.
I tried to call this function directly after ldap_sslinit/ldap_init and before ldap_connect() - without success, I tried to use other parameters with default values, I tried to initialize them by 0/other possible values - and also no success.
How I can do this?

Thanks for your advices.

Continue reading...
 
Back
Top