Thursday 23 January 2014

Microsoft: Setup HTTPS / SSL for a Website on IIS

Please follow the steps below to setup the HTTPS / SSL for your website:

1.  Select the server node in the tree view and double-click the Server Certificates feature in the list view:

2.  Click Import... in the Actions pane.

3.  Browser the certificate and type in the correct password. Then, import.

4.  Once the certificate is imported, select a site in the tree view and click Bindings... in the Actions pane. This brings up the bindings editor that lets you create, edit, and delete bindings for your Web site. Click Add... to add your new SSL binding to the site.

5.  The default settings for a new binding are set to HTTP on port 80. Select https in the Type drop-down list. Select the self-signed certificate you created in the previous section from the SSL Certificate drop-down list and then click OK.

6.  Now you have a new SSL binding on your site and all that remains is to verify that it works.
7.  Configure SSL settings if you want your site to require SSL, or to interact in a specific way with client certificates. Click the site node in the tree view to go back to the site's home page. Double-click the SSL Settings feature in the middle pane.


8.  In the Actions pane, under Browse Web Site, click the link associated with the binding you just created.

9.  Internet Explorere (IE) 7 and above will display an error page because the self-signed certificate was issued by your computer, not by a trusted Certificate Authority (CA). IE 7 and above will trust the certificate if you add it to the list of Trusted Root Certification Authorities in the certificates store it on the local computer, or in Group Policy for the domain. Click Continue to this website (not recommended).


Reference:
How to Set Up SSL on IIS 7
http://www.iis.net/learn/manage/configuring-security/how-to-set-up-ssl-on-iis

No comments:

Post a Comment