Configuring an SSL in cPanel

  Print
To Configure an SSL in your cPanel service.

Generating a CSR:

1. Log into your control panel at https://billing.hostinguk.net/
2. Once Logged in go to Services > My Services > Click on your cpanel service.
3. Click the 'Login to cPanel' button on the left of your screen.
4. A new tab will open and should log you into your cPanel server.
5. Scroll down to the 'Security' section and click 'SSL/TLS'.
6. Click the 'Generate, view, or delete SSL certificate signing requests.' to generate your Certificate Signing Requests.
7. Fill in the information at the top of the form (remember domain name will be specific to the SSL, so either www.testsite.com, testsite.com or subdomain.testsite.com).
8. Once details have been filled in, you can click 'Generate'. You will then be presented with the Certificate Request (CSR) which you will have to copy.
9. When you purchase an SSL order, this CSR will need to be submitted to generate a certificate which will work with the server.
** The server type would be a 'cPanel/WHM' server, you will likely be asked this when submitting the SSL order **

Validation
Some SSL providers can provide different methods of validating the SSL order. The most common validation method is an email link, which will send an email to a specific email address:
admin@DOMAIN
administrator@DOMAIN
webmaster@DOMAIN
hostmaster@DOMAIN

These can also be configured as Aliases to an existing account if you don't have these configured already.

Alternative methods some providers use are 'file auth' which will give you a txt file to upload to your site. The file does need to be web accessible, however if you have access this is the quickest and easiest method.

DNS authentication will allow you to create a TXT record in the DNS zone of the site, which can take some time depending on DNS propagation.

Installation
Once you have the SSL, you will can now install it.

1. Go back to the cPanel server and back to the SSL/TLS page where you made your request.
2. Click on the 'Manage SSL sites' link.
3. Paste your certificate into the 'Certificate: (CRT)' textbox.
4. Since you generated the CSR on the server, the rest of the textboxes should fill in automatically
5. Scroll down and click 'Install Certificate'

Enabling your SSL
You can put in a redirect into your '.htaccess' file on your site, if you don't have one you can create one and add the following:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://DOMAIN.CO.UK/https://DOMAIN.CO.UK/$1 [R=301,L]

This will then redirect all http requests to https.


Related Articles

Login

 
Forgot password?
Register now

Language