Installing an SSL on your shared cPanel account.

Krystal hosting do provide Let's Encrypt SSLs on all our shared plans for free. If you need to purchase an SSL from a SSL provider (Krystal do not sell certificates) then you will need to generate a CSR to request a certificate for your site.

Generating a CSR

  1. Log into your cPanel account.
  2. Once Logged in, scroll down to the 'Security' section and click 'SSL/TLS'.
  3. Click the 'Generate, view, or delete SSL certificate signing requests.' link to generate your Certificate Signing Requests.
  4. Fill in the information at the top of the form (remember domain name will be specific to the SSL, so www.testsite.com, testsite.com or subdomain.testsite.com).
  5. 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.
  6. When you purchase an SSL order, this CSR will need to be submitted to generate a certificate that will work with the server.

Installation

Once you have the SSL issued, you can now install it.

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

SSL Redirects

Sites will load over http by default unless you specify or put in in redirect to load over https.

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 %{HTTP:X-Forwarded-Proto} =http
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


How did we do?


Powered by HelpDocs (opens in a new tab)
© Krystal Hosting Ltd 2002–