Rajesh kumar’s Blog

If you have knowledge, let others light their candles at it.

How to create self signed SSL Certificate in Windows 2003 server

Posted by Rajesh Kumar on January 12, 2010

Have you ever thought of hosting your web sites in a secured protocol (https) than general http? To host the web site or web services in https, we need to have the certificate issued by CA, Verisign, GoDaddy etc and these are very expensive.

Microsoft is so kind to give the feature to generate a temporary certificates from Windows 2003 server which can be used for development purpose. In this article, I am going to explain you how to create and assign the SSL certificate for a web site. For this tutorial, we are going to create and assign SSL for “Default Web Site

Follow the steps given below in Windows 2003 server:

1. Click on Start -> Run.
2. Type “inetmgr” and hit Enter key. IIS manager should be opened now.
3. Expand the “Internet Information Services” on left side window till you see your desired Web site.
4. Right-click on “Default Web Site” and choose “Properties”.
5. In “Default Web Site Properties” window, click on “Directory Security” tab.
6. click on “Server Certificate” button.
7. Click on “Next” button.
8. Select “Create a new certificate”.

Note: If this option is not available, then you might be having a pending certificate. Either create a new web site or delete the pending request by following the wizard and start from step 4.

9. Select “Prepare the request now, but send it later” and click on “Next” button.
10. Type the name for certificate (let’s say it as “TestCertificate“) and click on “Next” button.
11. Type your “Organization” and “Organization unit” and click on “Next” button.
12. Type the common name (it can be any) and click on “Next” button.
13. Type Geographical Information and click on “Next” button.
14. Enter the certificate file and path, click on “Next” button.
15. Click on “Next” and then “Finish” button.
16. Click on “Web Site” tab and then type “443” as the port number in “SSL port:” field.
17. Now select “Directory Security” tab again.
18. Click on “Edit” button under “Secure communications” group.
19. Check “Require secure channel (SSL)” option and click on “Ok” button.
20. Click on “Ok” button to finish it completely.

With this, we have created a new certificate and configured it to the web site. From, now onwards you can start accessing your site with “https“.

Please feel free to let me know if you have any questions.

Advertisements

3 Responses to “How to create self signed SSL Certificate in Windows 2003 server”

  1. great points altogether, you simply won a new reader.

    What might you recommend in regards to your put up that
    you simply made a few days in the past? Any positive?

  2. I was wondering if you ever thought of changing the page layout of your website?

    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect with
    it better. Youve got an awful lot of text for only having one or two pictures.
    Maybe you could space it out better?

  3. There is definately a lot to learn about this issue.
    I love all of the points you’ve made.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: