How to validate client certificate?

May 1, 2011 at 3:48 PM

Hi!

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?

-Don