DrJohnZoidberg
Honorary Master
Firstly, I know the competition is over, just thought this would be useful. Also note that this guide is obviously not aimed at large businesses but more for small websites or sites that are hosted by your business for internal use where there is no VPN access set up.
I find that many people don't realise how insanely insecure websites are which run over plain HTTP, every time you transmit data to and from a site it is generally sent in plain text to the other side. This makes intercepting this traffic extremely simple.
If your site requires users to login with a username and password it is essential that you secure your website.
There are reasons though why people neglect to do this, people often don't understand how to do it and it costs money to purchase SSL certificates and it is often not cheap either.
You can also create your own SSL certificates but these self-signed certificates are not really useful if you host your site to the public as you will receive certificate warnings when visiting the site, this is when getting trusted SSL certificates from a certificate authority is necessary.
Luckily you can get free SSL certificates from certain sites, in this guide I will be using StartSSL (https://www.startssl.com/). Please sign up for a free account here before continuing.
I will be using the site ssl.myhtpc.co.za in this example which is running on a Linux server (Centos) using Apache.
Part 1. Verifying your domain:
Firstly you will need to verify that you actually administer the domain you want to secure, to do this you will need to have access an admin email account like postmaster@yourdomain, webmaster@yourdomain, etc.
1. Login to your StartSSL control panel and select the "Validation Wizard" tab.
2. Select "Domain Name Validation" and click continue.
3. Enter your domain name and select the correct top level domain.
4. The next screen will ask you to select which email address it should send a validation code to, select one which you have access to and click continue.
5. An email will be sent to the address you selected, check for the email and copy the validation code it contains.
6. On the next screen paste your validation code and click Continue. Your domain is now verified, click Finish to continue.
I find that many people don't realise how insanely insecure websites are which run over plain HTTP, every time you transmit data to and from a site it is generally sent in plain text to the other side. This makes intercepting this traffic extremely simple.
If your site requires users to login with a username and password it is essential that you secure your website.
There are reasons though why people neglect to do this, people often don't understand how to do it and it costs money to purchase SSL certificates and it is often not cheap either.
You can also create your own SSL certificates but these self-signed certificates are not really useful if you host your site to the public as you will receive certificate warnings when visiting the site, this is when getting trusted SSL certificates from a certificate authority is necessary.
Luckily you can get free SSL certificates from certain sites, in this guide I will be using StartSSL (https://www.startssl.com/). Please sign up for a free account here before continuing.
I will be using the site ssl.myhtpc.co.za in this example which is running on a Linux server (Centos) using Apache.
Part 1. Verifying your domain:
Firstly you will need to verify that you actually administer the domain you want to secure, to do this you will need to have access an admin email account like postmaster@yourdomain, webmaster@yourdomain, etc.
1. Login to your StartSSL control panel and select the "Validation Wizard" tab.
2. Select "Domain Name Validation" and click continue.
3. Enter your domain name and select the correct top level domain.
4. The next screen will ask you to select which email address it should send a validation code to, select one which you have access to and click continue.
5. An email will be sent to the address you selected, check for the email and copy the validation code it contains.
6. On the next screen paste your validation code and click Continue. Your domain is now verified, click Finish to continue.