madhatter22 / LinqToLdap

C# LINQ provider built on top of System.DirectoryServices.Protocols for querying and updating LDAP servers.
MIT License
45 stars 23 forks source link

Accept all certificates #21

Open ssteiner opened 3 years ago

ssteiner commented 3 years ago

I often have to deal with LDAP servers whose certificates are not trusted by my app. So I built an extension method on the configuration that allows to set the VerifyServerCertificate on LdapConnection.SessionOptions to accept all certificates.

Any chance you'd consider mainlining that? You can see the change in my fork

m33p commented 3 years ago

Very useful! I came across the same issue.