Accessing Client Certificates with ASP

Accessing Client Certificates with ASP

IIS 6.0

With Active Server Pages (ASP), you can create a server-side script that extracts the contents of a user's client certificate to test its validity and identify the user. By adding this script to SSL-secured Web pages, you can effectively catalog and manage the client certificates of users accessing your server.

Example code for accessing client certificates is provided in the topic titled Request.ClientCertificate.

Caution noteCaution:

Always protect your client certificate data by setting restrictive access control permissions. For more information, see Request.ClientCertificate and "Access Control" in Windows Help.

© 2016 Microsoft