locked
How to get qualified client certificate like IE's Certificate Selection dialog RRS feed

  • Question

  • Hi,

    If access a secure web site which requires client certificate, and there are multi-client certificate local, IE will prompt a Certificate Selection dialog and let user choose one. Certificate Selection and Validation describe some ideas that if multiple client certificates are set on a connection, the best one will be used based on an algorithm that considers the match between the list of certificate issuers provided by the server and the client certificate issuer name.

    I think this is done during SSL handshake, so does anyone know how to set a connection between server (Http(s) web service inside IIS) and client (Windows Form, Web Application) and then get the list of certificate issuers provided by the server programtically? Which class could be used in this case, HttpWebRequest, SslStream or others?

    Best Regards,

    Kevin

    Sunday, May 9, 2010 1:09 AM