Tip/Trick: Enabling SSL on IIS 7.0 Using Self-Signed Certificates
page 1 of 6
Published: 06 Apr 2007
Unedited - Community Contributed
In this article, Scott demonstrates how to enable Secured Sockets Layer (SSL) on IIS 7.0 using self signed certificates.
by Scott Guthrie
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 28439/ 51


Republished with Permission - Original Article

SSL enables browsers to communicate with a web-server over a secure channel that prevents eavesdropping, tampering and message forgery.  You should always use SSL for login pages where users are entering usernames/passwords, as well as for all other sensitive pages on sites (for example: account pages that show financial or personal information). 

Configuring SSL on Windows with previous versions of IIS has been a pain.  Figuring out how to install and manage a certificate, and then associate it with a web-site, is something I bet most web developers don't know how to enable.

The good news is that IIS 7.0 makes it radically easier to configure and enable SSL.  IIS 7.0 also now has built-in support for creating "Self Signed Certificates" that enable you to easily create test/personal certificates that you can use to quickly SSL enable a site for development or test purposes. 

Using IIS 7.0 you can SSL enable an existing web site in under 30 seconds.  The below tutorial demonstrates how to-do this.

View Entire Article

User Comments

Title: Ah solved it...   
Name: Conrad
Date: 2011-04-26 7:55:38 AM
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
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

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
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.

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


E-mail: agarwal.varun@hotmail.com
Title: set https for single page   
Name: kati
Date: 2008-05-08 3:19:19 PM
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-06-22 10:48:39 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search