General steps and resources for setting up SSL Certificates and PKI infrastructure

Project:

Set up a development web server environment which requires SSL and accepts client certificates.  The client certificates may come from a CA that is not immediately contactable, because the development environment is firewalled out of the CA network.


Using IIS7.5 on a Windows 7 Ultimate workstation.

General steps:
1) Install an SSL certificate for your web server to enable SSL.

    a. I had a Certificate Authority server set up in my development environment.
           Certificate Authority services come with Windows Server 2003 and above. You just need to enable the feature. 

    b. I requested a domain certificate from IIS7.5 Server Certificates feature which is located at the web server level of the IIS Managment Console.
    c. Then I enabled SSL on IIS 7.5 at the web site level.

http://www.iis.net/learn/manage/configuring-security/how-to-set-up-ssl-on-iis

2) Your client workstation must trust the CA. 
     a) Go to the CA and get a copy of the CAs public key certificate. 
     b) Install that to your trusted root certificates for your Computer and your user account.
              To go to a management console for managing your certificates:

    (Start -> Run "mmc")
                  File -> Add/Remove Snap-in
                  Choose Certificates and Click Add
                  Choose Computer Account and click Finish, select local computer and click Finish


                  Choose Certificates and Click Add
                  Choose My user account and click Finish


Alternatively, you can use GPOs to configure the trusted root certificate authorities for your domain.
http://technet.microsoft.com/en-us/library/cc738131(v=ws.10).aspx


Also, verify that the CAs for your client certificate are added to the computer account trusted root certificates.

3)  Enable SSL and  Require Certificates under  IIS 7.5 SSL Settings feature for your site.

4) Disable client certificate revocation on IIS 7.0 because you merely want to view the client certificates, and checking for revocation is not possible with the certificate authorities blocked off behind a firewall.
 http://blogs.msdn.com/b/kaushal/archive/2012/10/15/disable-client-certificate-revocation-check-on-iis.aspx




Critical Source Web sites:
http://www.iis.net/learn/manage/configuring-security/how-to-set-up-ssl-on-iis

http://blogs.msdn.com/b/friis/archive/2011/11/15/troubleshooting-403-7-client-certificate-required-errors-amp-step-by-step-to-make-sure-your-client-certificate-is-displayed-and-selected.aspx

http://blogs.msdn.com/b/kaushal/archive/2012/10/15/disable-client-certificate-revocation-check-on-iis.aspx

http://technet.microsoft.com/en-us/library/cc738131(v=ws.10).aspx


Comments

Popular posts from this blog

How To use ASPNET_SetReg to store encrypted data in the registry and then decrypt the data for use in your app

Nostalgia for SNL's Il Returno De Hercules

PowerShell Script to Clean the Windows Installer Directory