A proper step-by-step process is shown in this article for installing the SSL/TLS certificate through cPanel. You can do this even if you don’t have any technical knowledge. There is a specific process and requirements which need to be completed before doing the SSL/TLS certificate installation process.
You need some important things at the time of SSL/TLS certificate installation.
After downloading the SSL/TLS certificate, you need to follow some steps for installing the SSL/TLS certificate through cPanel:
There are two options for uploading the SSL/TLS certificate to the server:
The first option is to go to the zip folder and select the .crt file. After that open a text editor such as Notepad and copy all the content present in it. Next is to start typing –Begin Certificate—and ends with—End certificate and paste the copied content in the text box. Now click the Save Certificate option.
The second option is to upload the certificate via browsing through the SSL certificate folder after selecting the .crt file. The installed certificate will display on another page of the domain. Click on the Go Back button which will further take you to the page of New Certificate. Go down on the page and click on the Return to SSL Manager.
Click on the Manage SSL sites option is present under install and manage SSL of the website. The Manage SSL host page will open up that helps to configure SSL for your domains. There are two options that will appear under the install an SSL website section:
It is up to you which option you want to choose.
If you will select the Browse Certificates option, then go to the Browse Certificates option. The certificate which you have uploaded on your server will display along with the issued domain, issuer name (Certificate Authority name), and expiration date. After that select the User Certificate option. Multiple SSL/TLS certificates will appear if more than one certificate is uploaded.
If you will select Domain, then select the drop-down menu and click on the domain name in which you have to install the SSL/TLS certificate. After that click on the Autofill by Domain button. Now click on the certificate through the browser certificates option. It will help to fill the Certificate (CRT) and private key (KEY) option in the text box.
The CA bundle can be fetched automatically. In the CA bundle file, copy and paste the content provided to you in the CA or you can also visit the website and find the proper CA bundle file, download it, and copy and paste the content. After finishing these steps, visit the bottom of the page and click on Install Certificate. The certificate will start uploading on the server after clicking the install certificate option. The certificate uploaded on the server will be added to the server.
Automatically Force Website Visitors to HTTPS Connection
The SSL/TLS certificate will be installed on the website after complete all the steps. You need to redirect the HTTP to HTTPS automatically so that user who visits the website can automatically redirect to the secured HTTPS version.
Implementing HTTP to HTTPS Enforcement for Main Domain
Enter in the domain section of the cPanel and select Domains. The Domain page will open up from which you can select the Domain and On the Force HTTPS. After completing this, a message will appear that shows Success and Force HTTPS Redirect of the Domain become enable. Now, a secure connection appears on your Domain.
HTTPS for Add-on Domains
You need to generate a .htaccess file for the add-on domain. If any existing .htaccess file is already created then there is no need to generate a new one. After that write the code mentioned below:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URL}
[L,R=301}
If the .htaccess file is already present in the folder:
For WordPress Websites
Those who use WordPress sites can plugin to SSL and the installation process of SSL is very simple. After installing the SSL in WordPress, simply configure that plugin. After that use the URL address with HTTPS for updating your site.
Leave Comment