Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 29128

How to configure IIS client certificate mapping authentication for IIS7

$
0
0

There are some articles about how to configure the Mutual Certificate authentication on IIS. But the steps are not very clear. Here is a detailed step by step procedure to configure the IIS client certification mapping authentication for IIS 7.

Firstly, there are several pre-requisites.

  1. Trusted CA root certificate.
  2. Server Certificate from a trusted CA.
  3. Client Certificate from a trusted CA.

Server side:

Install the server certificate on the server side.

1. Open mmc console, add the certificate for the Local Computer.

clip_image002

clip_image004

2. Import the CA root certificate to Trusted Root Certification Authorities and server certificate to Personal folder.

clip_image006

IIS configuration:

1. Open Inetmgr, click Server Certificates.

clip_image008

2. Import the server certificate as below.

clip_image010

3. Click the website which need mutual certificate authentication. Click bindings… and set it as below. Select the imported server certificate in the SSL certificate dropdown list.

clip_image012

4. Click SSL settings in the middle panel and select Require SSL and Require for Client certificates.

clip_image014

5. Double click the Authentication icon and disable all the Authentication method.

clip_image016

6. Make sure the IIS Client Certificate Mapping Authentication is installed.

clip_image018

If not, please install it as below.

clip_image020

7. Click the Configuration Editor in the middle panel and set the one to one mappings refer to this link http://blogs.iis.net/rlucero/archive/2008/05/23/iis-7-walkthrough-one-to-one-client-certificate-mapping-configuration.aspx .

You can also configure this by install the Client Certificates UI by this link. http://www.iis.net/downloads/community/2009/08/iis-70-ui-module-for-client-certificate-mapping

On the client side:

1. Open MMC console and import the client certificate and CA root certificate. Import them to the Current User account.

clip_image022

2. Check if the client certificate exist in the content->certificate as below.

clip_image024

3. Try to visit the website and the client certificate will pop up. This is not popped up if there is only one client certificate by default. Here I configure the IE browser to prompt the dialog even only one client certificate is available. Please do it as below.

clip_image026

clip_image028

4. Here you go.

clip_image030

 

Regards,

 

Chao Liang from GBSD DSI Team


Viewing all articles
Browse latest Browse all 29128

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>