Showing posts with label https. Show all posts
Showing posts with label https. Show all posts

Thursday, February 12, 2009

Enable SSL in a site - Part 3

Continuation of Enable SSL in a site - Part 2........

Installing SSL Certificate into IIS 6.0

Valid SSL trial version will send your mail and save that as a text file

Make sure you have 5 dashes to either side of the BEGIN CERTIFICATE and END CERTIFICATE and that no white space, extra line breaks or additional characters have been inadvertently added.

Note: Any of the following certificate file extension format is recognize by Microsoft IIS server - .txt, .cer & .p7b. In order to make sure that your certificate will install in any format we recommend using the .txt extension.
1. Open the Internet Services Manager (IIS):
a) Click Start
b) Select All Programs
c) Select Administrative Tools
d) Choose Internet Information Services (IIS) Manager
2. Under Web Sites, right-click your web site and select Properties.
3. Click the Directory Security tab.
4. Under Secure Communications, click Server Certificate.
5. The Web Site Certificate Wizard will open, click Next.
6. Choose Process the Pending Request and Install the Certificate, then click Next.

Important: The pending request must match the response file. If you deleted the pending request in error you must generate a new CSR and replace this certificate.
7. Select the location of the certificate response file, and then click Next.
8. Read the summary screen to be sure that you are processing the correct certificate and then click Next.

9. You see a confirmation screen. After you read this information, click Next.
Stop and start your Web server prior to any testing.
Be sure to assign your site an SSL port (443 by default).
If you do not specify an IP address when installing your SSL Certificate, the same ID will be used for all virtual servers created on the system.
Enjoy

Enable SSL in site - Part 2

Continuation of Enable SSL in site - Part 1...........

Next Step is to install the trial root CA certificate in IE
  1. Click on the “ Download Secure Site Trial Root Certificate” link above.
  2. Save the certificate into a Notepad file with certreq1.cer extension.
  3. Open a Microsoft IE Browser.
  4. Go to Tools > Internet Options > Content > Certificates
  5. Click Import. A certificate manager Import Wizard will appear. Click Next.
  6. Browse to the location of the recently stored root (done in step 2). Select ALL files for file type.
  7. Select the certificate and click Open.
  8. Click Next.
  9. Select “Automatically select the certificate store based on the type of the certificate”. Click Ok.
  10. Click Next then Finish.
  11. When prompted and asked if you wish to add the following certificate to the root store, click Yes.

Note : Above steps are required only for trial version of SSL certificate. This is not applicable if it is paid valid certificate.


For Netscape Browsers

  1. Click on the “Secure Site Trial Root Certificate link” above.
  2. Save the certificate into a file with certreq1.cer extension.
  3. Open a Netscape browser.
  4. Go to Edit > Preferences > Privacy & Security > Certificates > Manage Certificates > Authorities.
  5. Click Import
  6. A dialog box appears that says, “Are you willing to accept this Certificate Authority for the purposes of certifying other Internet sites, email users, or software developers?”. Check “Trust this CA to identify web sites”. Click Next.
  7. Click Ok.

For Firefox Browsers

  1. Click on the “Secure Site Trial Root Certificate link” above.
  2. Save the certificate into a file with certreq1.cer extension.
  3. Open a Firefox browser.
  4. Go to Tools > Options > Advanced > View Certificates >Authorities.
  5. Click Import.
  6. Select the Trial Root certificate > click Open.
  7. A dialog box appears that says, "Do you want to trust 'VeriSign Trial Secure Server Test Root CA' for the following purposes?". Check "Trust this CA to identify web sites".
  8. Click OK.

Enable SSL in a Site - Part 1

Enable SSL in a Site - Part 1

If you want to implement 'https' in site, for the testing purpose you will get the trial SSL certificate from http://www.verisign.com/ssl/buy-ssl-certificates/free-ssl-certificate-trial/index.html

Give valid information and Verisign will send the trial version of SSL certificate to your mail.

Follow all the steps mentioned in site / in mail

Make sure you have a qualified domain name and application is in 80 port.

Following are way to convert http site to https

First step is Generate Certificate Signing Request (CSR)

  1. Login to the server, where application is hosted.

  2. Take start-> run

  3. Type 'inetmgr' and press enter

  4. Right click on the virtual directory displayed in IIS manager and from the context menu, click on properties

  5. Select the directory security tab



  1. Click on 'Server certificate'


7. Click 'Next'


8. Select 'Create New certificate' and click next


9. Select ' Prepare the request now and send later


10. Give the name and click next


11. Enter 'Organization Information' details


12. Enter the site's common name. This should be a valid domain name

13. Enter Geographical information and click next


14. Click next and request file summary page will load

15. Click next and Certificate completing wizard will come and click finish

You will get Certificate Signing Request (CSR) as a text file. Here it is 'certreq1.txt'