.net example of using client certificates in web service call?

Posted by Rory on Stack Overflow See other posts from Stack Overflow or by Rory
Published on 2010-06-08T23:46:14Z Indexed on 2010/06/09 0:42 UTC
Read the original article Hit count: 214

Filed under:
|
|
|
|

I'd like to use client certificates to verify the identity of administrative callers to my web service. Then I can issue certificates only to the people I want to call my web service and be pretty sure noone else can call it. This is in a very controlled scenario where only one or two people will get the client certificate, so distribution isn't a hard problem.

This article provides a good example of how to call a web service using a client certificate.

But how can I check details of the client certificate from within my web service? This old article talks about configuring IIS to do it, but I'd like to do it programmatically within my app. I think?

thanks for any suggestions!

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET