Enable SSL on IIS7 and Windows Vista

Posted by: Suprotim Agarwal , on 5/6/2008, in Category Windows Vista
Views: 64562
Abstract: SSL refers to a security protocol that secures communication on the internet. In Windows 2003, SSL information was stored in the IIS metabase. In Windows Vista, SSL processing has been improved and is handled by HTTP.sys. In this article, we will explore how to enable SSL on Vista using the IIS Manager.
Enable SSL on IIS7 and Windows Vista
 
SSL refers to a security protocol that secures communication on the internet. In Windows 2003, SSL information was stored in the IIS metabase. In Windows Vista, SSL processing has been improved and is handled by HTTP.sys. In this article, we will explore how to enable SSL on Windows Vista Ultimate using the IIS Manager.
Follow these steps:
Step 1: Open IIS. Go to Start > Run > Inetmgr > Click Ok to view the IIS Manager. Click on the server to display a list of IIS features supported as shown below. Double-click on ‘Server Certificates’.
IIS Manager
Step 2: This opens up a ‘Server Certificate’ view. You can use this view to manage certificates for sites configured for SSL. Click on ‘Create Self-Signed Certificates’ as shown below
Self-signed certificate
Step 3: Now specify a name for creating a self-signed certificate as shown below. We are using the name ‘TestCert’. Click Ok.
Self-signed certificate name
The certificate gets created and is displayed in the ‘Server Certificates’ view. This certificate can now be used for HTTP SSL processing.
Step 4: We need to now create an SSL Binding. To do so, select the defaul site in the list ton the left and in the Actions pane > Bindings.
SSL Binding
The ‘Web Site Binding’ dialog is now visible. Click on Add to display the ‘Add WebSite Binding’ dialog > Select https from the Type > Select the SSL Certificate as ‘TestCert’. Click Ok.
Add website binding
An entry will be automatically created in the Actions pane for https. You are all set up to now verify that SSL has been enabled on your site. To test the binding, click on ‘Browse *:443 (https)’ in the Actions pane.
Actions - view SSL
You would be displayed an error page showing ‘There is a problem with this website's security certificate’. Click on ‘Continue to this website(not recommended)’ to view the IIS welcome page being displayed over https.
Note: You will not receive the error if you are using a certificate from a trusted certification authority (CA).
That’s it!! IIS is SSL enabled now. I hope this article was useful and I thank you for viewing it.
If you liked the article,  Subscribe to my RSS Feed. 
 
 
Give a +1 to this article if you think it was well written. Thanks!
Recommended Articles
Suprotim Agarwal, ASP.NET Architecture MVP, MCSD, MCAD, MCDBA, MCSE, is the CEO of A2Z Knowledge Visuals Pvt. He primarily works as an Architect Consultant and provides consultancy on how to design and develop .NET centric database solutions.

Suprotim is the founder and primary contributor to DotNetCurry, DNC .NET Magazine, SQLServerCurry and DevCurry. He has also written an EBook 51 Recipes using jQuery with ASP.NET Controls. and is authoring another one at The Absolutely Awesome jQuery CookBook.

Follow him on twitter @suprotimagarwal


Page copy protected against web site content infringement by Copyscape


User Feedback
Comment posted by David on Wednesday, August 6, 2008 1:03 PM
Thank you; very useful.
Comment posted by Solomon on Saturday, October 4, 2008 7:58 AM
Can we enable SSL on Windows Vista Home Premium using the IIS Manager? My laptop OS is Vista Home Premium.
Comment posted by Kay on Friday, March 6, 2009 5:18 PM
Thank you, it was very useful.
Comment posted by Sai on Sunday, April 19, 2009 10:35 PM
Nice Work!!!
Comment posted by Fernando on Wednesday, March 10, 2010 8:17 AM
Thanks. Excelent work, very useful.
Comment posted by Sajin on Wednesday, July 7, 2010 12:28 PM
Very nice, works perfect upon doing the steps properly in IIS7.5 also..thank u very much..
Comment posted by Memo on Thursday, July 22, 2010 10:03 AM
Thanks!
Comment posted by VJ on Wednesday, April 20, 2011 5:20 AM
Great Post! Thanks.
Comment posted by MohammadReza on Tuesday, August 30, 2011 9:35 AM
Thanks,it was vary useful
Comment posted by Kevn on Friday, November 4, 2011 2:05 PM
Thanks this was very useful in testing
Comment posted by chethan on Thursday, October 11, 2012 12:00 AM
Seriously it was a great help.

Post your comment
Name:  
E-mail: (Will not be displayed)
Comment:
Insert Cancel