Self-Signed SSL Certificates on IIS 7


This week, I’ve must add a certificate in IIS to allow https access. This server is used for our developments only… and I would like use a free or a test certificate.

This excellent article describes all steps to create, install and validate a Certificate for Testing.

The main steps are:

  • Using SelfSSL.exe (Run as Administrator) to generate a Test Certificate for your domain name.
    • /V:9000 is the expiration delay (in days)… 9000 = 25 years.
    • /S:1 is the Web Site number (see IIS)
    • ex: SelfSSL /N:CN=www.mytest.mycompany.com /V:9000 /S:1
  • From IIS, exporting the new certificate to a PFX file.
  • Importing this file to Trusted Root Certificate Authorities / Local Computer
    • via mmc.exe certmgr.msc.
Advertisements
Tagged with:
Posted in Tips and others

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow me
   RSS Feed    Twitter    Linked In

Write you email address to subscribe at this blog and to receive new posts by mail.

Join 611 other followers

Who I am?






%d bloggers like this: