471,571 Members | 4,102 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,571 software developers and data experts.

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 2400

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
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by Vinnie | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.