How to Install SSL Certificate in cPanel

A short tutorial that explains on how to install the SSL certificate using cpanel.

Explanation

Download your SSL certificate and support files by clicking on the download link from your registered email or from your HioxIndia client account.
Step 1: Login to cPanel
Step 2: Select SSL/TLS → Manage SSL sites to upload SSL certificate and support files.
Choose Ssl
How To Install Ssl
Step 3: Select the domain name for which you have purchased the SSL and paste the domain CRT file in the CRT field. Crt Certificate
Step 4: Upload the Private key in the KEY field.
How To Upload Private Key
Step 5: Upload CA Bundle files in the Certificate Authority Bundle field.
Upload Cabundle
Step 6: Click Install Certificate. Once the SSL installation is over you will be notified with the alert of SSL Installation Successfully Updated.
Ssl Installed Sucessfully
Step 7: Create the .htaccess file in your website folder and add the below code to redirect a website from HTTP to https

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

or

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://domain.com/$1 [R=301,L]


Related Topics

Control Panel Tutorial