[python-ldap] Python LDAP TLS error when ldap.OPT_X_TLS_REQUIRE_CERT set to ldap.OPT_X_TLS_NEVER

John Dennis jdennis at redhat.com
Thu Jun 30 17:06:26 EDT 2016

On 06/30/2016 04:10 PM, Daniel Watrous wrote:
> Michael,
> Since you're avoiding stackoverflow, you didn't see that I already did
> exactly what you suggest, but it's not working, hence my question. I
> figured I must be missing something.
> Copying over from stackoverflow for this list
> When using python-ldap I am setting ldap.OPT_X_TLS_REQUIRE_CERT set to
> ldap.OPT_X_TLS_NEVER, but I still get a TLS error. I've tried
> ldap.set_option and the version you see below. Both produce the same error.

Requiring a client cert and validating a server cert are two different 


More information about the python-ldap mailing list