Tip/Trick: Enabling SSL on IIS 7.0 Using Self-Signed Certificates
page 3 of 6
by Scott Guthrie
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 28598/ 53

Step 2: Create a new Self Signed Certificate

Before binding SSL rules to our new site, we need to first import and setup a security certificate to use with the SSL binding. 

Certificates are managed in IIS 7.0 by clicking the root machine node in the left-hand tree-view explorer, and then selecting the "Server Certificates" icon in the feature pane on the right:

Figure 3

This will then list all certificates registered on the machine, and allow you to optionally import and/or create new ones.

I could optionally go to a certificate authority like Verisign and purchase a certificate to import using this admin UI.  Alternatively, I can create a "self-signed certificate" which is a test certificate that I can use during the development and testing of my site.  To-do this, click the "Create Self-Signed Certificate" link on the right-hand side of the admin tool:

Figure 4

Enter a name to use for the certificate (for example: "test") and hit ok.  IIS7 will then automatically create a new self-signed crypto certificate for you and register it on the machine:

Figure 5


View Entire Article

User Comments

Title: Ah solved it...   
Name: Conrad
Date: 2011-04-26 7:55:38 AM
Comment:
RE: (Exception from HRESULT: 0x80070020)
If you get this... its Skype! Shut it down, restart the Site in IIS, then you can start Skype up again.

(Btw, in the Skype settings you can disable this rather rude hijack feature.)
Title: Hmmm... Nope   
Name: Conrad
Date: 2011-04-26 7:34:13 AM
Comment:
After doing this, it stops the Site and on starting it says:
"The process cannot access the file because it is being usind by another process (Exception from HRESULT: 0x80070020)"
Title: could not connect to web server   
Name: ssl test
Date: 2009-05-29 7:53:33 AM
Comment:
Hi

I followed the same steps mentioned by you to enable https....

but not working....message....could not connect to web server
Title: Set https for single page   
Name: Varun Agarwal
Date: 2008-10-17 9:33:55 AM
Comment:
Hi Kati,

Yes, its possible to setup SSL on single page and not the entire web application.

Let me know your e-mail address, so that i can send you the steps.

Thanks
V
Title: How to use HTTPS and Host Headers at same time   
Name: Varun Agarwal
Date: 2008-07-31 9:19:48 AM
Comment:
This is informative. However,more interesting question is: Is it possible to have SSL and host headers on same website in IIS 7.0.

Thanks
Varun

E-mail: agarwal.varun@hotmail.com
Title: set https for single page   
Name: kati
Date: 2008-05-08 3:19:19 PM
Comment:
how to set https for a single webpage and not entire webapplication?

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-27 1:12:01 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search