How do you make your site SSL enabled ?

Answer Posted / lllllllllll

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 ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference Between Authentication and authorization?

572


How is my content secured from unauthorized access?

513


What is the difference between executescalar and executenonquery?

505


When was asp.net released?

564


What is asp according to you?

522






How does asp.net page work?

520


What is voluum?

530


Does web services support data reader like pom project?

522


How we can force all the validation controls to run?

522


How do u deploy ur project?

2213


How can we update records in gridview?Is there any appropriate code for it?

1594


calling result set one procedure to anothar procedure in sql2000

1331


Define tracing.

618


What is a runtime version?

521


What are httphandlers and httpmodules and difference between them?

514