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

Step 3: Enable HTTPS Bindings for our New Site

To SSL enable the web-site we created earlier, select the web-site node in the left-hand tree-view, and the click the "Bindings" link in its "actions" pane on the right-hand side of the screen:

Figure 6

This will then bring up a dialog that lists all of the binding rules that direct traffic to this site (meaning the host-header/IP address/port combinations for the site):

Figure 7

To enable SSL for the site, we'll want to click the "Add" button. This will bring up an "add binding" dialog that we can use to add HTTPS protocol support.  We can select the self-signed certificate we created earlier from the SSL certificate dropdownlist in the dialog, and in doing so indicate that we want to use that certificate when encrypting content over SSL:

Figure 8

Click ok, and we now have SSL enabled for our site:

Figure 9


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-25 3:31:33 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search