How do you make your site SSL enabled ?

Answer Posted / renganathan

Secure Socket Layer(SSL) is used for secured communication
over the internet. Banking services, e-commerce etc.
websites implement SSL so that they can be accessible
through Https protocol for secured communication. If you
wish, you can configure only a section of your website
should be accessible through https and rest of the website
can be accessed through http protocol. Like in the online
shopping website only the payment section of the website
can be configured to be access through https protocol.

In order to make website SSL enabled, we need a
certificate. There are many different web sites that
provide certificates for use on IIS like www.verisighn.com.
Although, windows comes pre-installed with some
certificates of trusted companies. These certificates can
be viewed by running certmgr.msc from the comsole window.
For any certificate in the list of trusted certificates
your program(IE), will not give you warning when you access
their website with SSL enabled.

To show how to setup an SSL website we will use a trial
certificate that Verisign provides to anyone. Before that
create the certificate request.

Follow these steps:

1. Open the IIS manager window.
2. Right click on the website/virtual directory and choose
property window.
3. In the Property window choose Directory Security tab and
click on server certificate button.
4. Certificate Wizard window will open, click on next and
choose Create a new certificate option. Now follow the
wizard steps.
5. The web server certificate wizard will create a
certificate request and it will ask you where you want to
save it to. Save it somewhere where you can easily access
it because you will need to open up the file and submit it
to Verisign in order for a certificate response to be sent
back to you.
6.Open the text file that contains certificate request and
copy its content.
7. Now open http://www.verisign.com/ in IE. Once the page
has loaded up find the link "SSL Trial ID" and click on it.
8. The Verisign web site will now take you though the
process of obtaining a certificate.
9. In this process on the step "Submit CSR" enter in the
certificate request that you copied earlier and click on
continue.
10. After the process steps complete, your certificate
response will be e-mailed to you.
11. Now check your mail account for the certificate
response,At the bottom of the e-mail Verisign sent you is
the certificate that you need. Copy this text from the
BEGIN CERTIFICATE to the END CERTIFICATE include those
lines.
12. Open notepad, paste the text into it and save the file
as response.txt.
13. Go back to your web site's Properties dialog and click
on the Directory Security tab. Click on the Server
Certificate button. Click "Next" until you come to the
screen shown. Make sure the "Process the pending request
and install the certificate" option is selected. Click Next.
14.In the next screen click on browse to browse the
response.txt file, click on next and complete the rest of
the steps.
15. Click on the "Edit" button located in the Directory
Security tab of the web site's Properties dialog.
16. Check the "Require secure channel (SSL)" checkbox and
click on OK.

Now Our site have become SSL enabled.To access your SSL
enabled website use https instead of http.


To configure a perticular web page inntead of whole site to
be accessed using https protocol, right click on that
perticular web page in the IIS manager and open its
property window.Click on the "Edit" button located in the
Directory Security tab of the web site's Properties dialog
and Check the "Require secure channel (SSL)"

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

530


Explain how to prepare culture-specific formatting in .net.

526


How would you turn off cookies on a page of a website?

501


What is the behavior of a Web browser when it receives an invalid element?

617


What is a url string?

544






Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net

1495


Which object wraps the state or data of a user?

541


Explain the difference between inline and code behind - which is best in?

501


how to transfer the file from client to server using asp.net

583


How many types of cache are there?

524


Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc

524


What does session_start () do?

616


How do we access view state value of this page in the next page?

644


Explain Features in ASP.NET

569


What is & in a url?

523