SSL miniHOWTO

Will Denniss

Revision History
Revision 1.001 May 2003Revised by: WD
First Version

This document is licenced under the GNU Free Documentation License.


Table of Contents
1. Introduction
1.1. Why you want it
1.2. What you need
1.3. Timeframe
2. Getting the nessesary details from your hosting providor
2.1. The CSR
2.2. Server Software
2.3. Decide the domain name
3. Purchasing the Cert
4. Installing your Cert
5. Testing your Cert
A. Some SSL/Cert related links
A.1. General Info
A.2. Sites who sell SSL certs

1. Introduction

This document describes how you can setup an internet site which can accept secure connections using Secure Socket Layer (SSL).


1.1. Why you want it

If you want users to be able to access a section of your site with sensitive information that requires some sort of encrypted connection, this is a cheap yet effective way of doing it. Basically if you havn't heard of SSL you probably do not want it :)


1.2. What you need

  1. A web hosting account with SSL support (and a relyable team who can help you set it up)
  2. Your individual static IP address that the account is hosted on
  3. A digital certificate (I shall explain how you get this)
None of those things are cheap but then on the other site they arn't terribly expensive either.

1.3. Timeframe

Allow a bit of time for this to be setup, it requires a fair bit of toing and froing between you and your hosting providor, but hopefully this miniHOWTO can cut that down a bit.


2. Getting the nessesary details from your hosting providor

2.1. The CSR

To get a company like InstantSSL to give you a cert, you first need the software on the server to generate what is called a Certifiacte Signing Request (CSR). To do this you will most likley need to contact your hosting providor and ask for one. They will need the following information so providing it first up may save some time:

  • Email Address the Cert will be sent to.
  • Host to make cert for
  • Country (2 letter Abbrivation)
  • State
  • City
  • Company Name
  • Company Division
  • Email
  • Password

It is imperitive you get this information correct as it is what your clients will see if they look at the cert. Once you buy the cert it can't be changed.

Once you give them this information, you should be issued a CSR and a Private Key. The private key is simply for your records and allows you to use the cert on a different server (so if you don't get it - ask for it!).


2.2. Server Software

You will also need to ask what software the server is running, eg "Apache". You will also need to know what software was used to generate the CSR, eg "Apache-Modssl". Those two combinations are one of the more popular ones. Find this info out when you ask your host for the CSR to save time


2.3. Decide the domain name

You must decide what the URL will look like of your secure site. For example if you have the site: "www.soonji.com" which is normally accessed by http://www.soonji.com you could have the secure part of it "https://www.soonji.com" or say "https://secure.soonji.com". But you can only have one (unless you get a fancy wildcard cert which you probably don't want due to the cost).


3. Purchasing the Cert

Now you should have enough information to purchase a cert. Goto your favourite vendor and purchase one. They should email you with both your cert and those of the CA (the Certificate Authority) who is the entity that actually creates the cert for you. Note it may take a while for them to issue it as they first have to confirm your identity. If they don't confirm it then they are not as trustworthy and your cert isn't quite as good, but that is a topic for another day.


4. Installing your Cert

Now you have your cert, you should also have instructions on how to install it. Give these instructions to your hosting providor along with any and all certificates that were given to you. They should then be able to install it.


5. Testing your Cert

Testing your site. Simply goto "https://secure.soonji.com" where "secure.soonji.com" is the domain you registered the cert for. If you see a padlock down the bottom right then it worked fully. You should see some of your files their depending on your server setup. If you get a warning message then there may have been a problem as your cert is untrusted by the browser (this may happen too if you don't purchase it from a proper CA). If you can't see anything or get an error then it probably did not work.


A. Some SSL/Cert related links

A.1. General Info


A.2. Sites who sell SSL certs