iis - Access client certificate properties from WCF Service -


i writing wcf service need access hash code of client certificates used connect service.

i looking property or method similar request.clientcertificate asp.net 2.0 days cannot find allows easy access client certificate.

our service set such running ssl using basichttpbinding , security mode of "transport".

iis has been set require ssl , accept certificates.

one thing note our server certificate used secure endpoint different ca of client certificates - client certificates intended validated solely through custom code (thus need hash code of connecting certificate).

i have created custom implementation of idispatchmessageinspector see if there access client certificate there no avail.

has attempted , had success before?

looks best option implement custom certificate validator service. class derives x509certificatevalidator , registered through config file.

there's more complete information on how on this article.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -