Friday, October 19, 2007

Configuring SSL for IIS

Hi friends,

This article explains how to configure your IIS based website to communicate with the secure socket layer shortly called as SSL. The SSL enable us to have the secure website in turn also for the access of user's mailbox from the OWA from the Internet world. The SSL works in close with the CA called Certificate Authority. Here i am going to explain SSL website building with the basic standalone root certificate available with the server 2003 add remove components.

Install Certificate Authority:

Go to add / remove components and install the Certificate services.

Configuring Website:

1. Open IIS console
2. Right click the Website (here Default website)
3. Directory security
4. Server certificate
5. New server certificate
6. Immediate request options
7. Give the appropriate name, organization name and unit, common name
8. Leave the default port number and other values.
9. Select the appropriate certificate
10. On the Certificate Request Submission page, click Next to submit the request, and then click Finish to complete the wizard.

Enabling the SSL to the Website:

1. Open IIS console
2. Right click the Website (here Default website)
3. Directory security and click Edit.
4. click the Require secure channel (SSL) check box, click the Require 128-bit encryption check box, and then click OK.
5. Make sure Basic authentication is alone checked.


Open your browser and then try out any possible urls.
For eg http://localhost/exchange
When you try the above option it will throw an error.
But, if you try with SSL option https://localhost/exchange , it works.


1 comment:

ssl certs said...

Thanks for taking the time to write this article, I've been trying to find something that would explain how to configure ssl for iis for a while and just couldn't find anything, until I stumbled across this blog. The step by step instructions have been very helpful.