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

Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?

1723


Do you know using sql cache invalidation?

531


1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?

1787


How could you modify xaml content from javascript?

517


What is the displayafter property in updateprogress control?

511






How do I open an ashx file in windows 7?

575


In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely

1551


What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?

1515


What is the size of Get method and how much data it can store?

577


Which asp.net objects encapsulate the state of the client and the browser?

578


What is skin in asp.net?

525


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

593


How can we access static variable?

651


Can viewstate be accessed in another page?

513


What is difference between View State and Hidden Field in ASP.NET?

663