This project is read-only.

How to validate client certificate?

May 1, 2011 at 4:48 PM


I'm looking for a good place to do some specific client certificate validation. There seems to be no public event for doing that. I'd like to provide a patch that adds a new "ValidateClientCertificate" event (parameters: object sender, X509Certificate receivedCertificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) to the SecureHttpListener class which is raised from internal SecureHttpContext.OnValidate() handler.

What do you think? Is there a better way? Am I missing something?