Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Authentication via LDAP - self-signed-certificate

$
0
0

Hi!

I have implemented a custom membership-provider for my web-application which performs authentication via ldap. Using a non-ssl connection works fine.

The test-environment uses a self-signed-certificate. The authentication fails using SSL and I just retrieve a generic error. If I implement a custom VerifyServerCertificateCallback on the LdapConnection-instance and perform a validation using a X509Chain-instance I retrieve further information about the error: The application was not able to verify the certificate because a connection to a CA could not be established! To enable testing I tried to install the certificate on my computer in the certificate-store within"Trusted Root Certification Authorities" for my local computer and my account. But both didn´t worked.

Any ideas?

Is the idea correct that installing the certificate should the authentication make work?

Best regards, xforfun


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>