469,299 Members | 2,035 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,299 developers. It's quick & easy.

Extracting Client Certificate fields...mutual authentication

Hi,
Am developing a web service that is gonna be consumed by a client over
https. I'm using certificates to get the mutual authentication in place. On
the server side, I want my service to be able to extract some fields from
the client's certificate. I tested the service using the browser and it
works fine...proving that the client IS sending its certificate and is
getting authenticated at IIS level.

In the web method, I'm trying to access the client's certificate using
Context.Request.ClientCertificate.SerialNumber. But this throws an exception
saying m_safeCertContext is an invalid handle. A lil examination shows that
the call to ClientCertificate is actually returning null. What am i missing?

Sinex
Jun 18 '07 #1
0 2332

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by dinoo | last post: by
5 posts views Thread by wrytat | last post: by
reply views Thread by Eric Rosenberger | last post: by
1 post views Thread by jnet | last post: by
1 post views Thread by Yogesh Chawla - PD | last post: by
1 post views Thread by =?Utf-8?B?Umljaw==?= | last post: by
reply views Thread by =?Utf-8?B?PT10aW1lPT0=?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.