How To Install a Premium SSL certificate in Cyberpanel VPS

How To Install A Premium SSL In Cyberpanel VPS
Requirements:
• Cyberpanel VPS
• Premium SSL certificate

* Login to your VPS. On your dashboard, navigate to Websites>>Manage websites. On the websites/domains that will be displayed, select the domain for which you want to issue SSL certificate and click on “Issue SSL”:


* We now want to generate CSR certificate and Private Key. Navigate to https://www.gogetssl.com/online-csr-generator/ and fill in the details as required then click on Generate CSR.

* Once you click generate CSR two codes will appear. Copy paste the first code written “Your CSR for …..”. and paste it in your Truehost Client Account. Here, you need to navigate to your Truehost Client Area and click on the SSL certificate of the domain you want to install.
The second code written Your Private Server Key will be used when installing the SSL in your Tpanel you can to save under text editor or do not close the tab as you will copy paste it later.

* Navigate to your Truehost client account under Services click on The SSL product you bought. Then click on configure paste the CSR code here. (ensure you have no spaces at the beginning and end of the code.)

• Navigate towards the bottom and click on Continue
• For validation use email use admin@yourdomainname

• Check your email and validate your domain. Navigate to your client area copy the CRT file first,
• Log in to your Cyberpanel. Under websites→List Websites→Click on manage→Add SSL.

• Under the Tab written “Paste Your Cert”. Paste the CRT you copied and ensure there is no space. On the next Tab written “Paste your Key Here” Paste the code you received while generating the CSR under https://www.gogetssl.com/online-csr-generator/
• Then click on save Button below.
* Important: Navigate to your File manager under the .htaccess file. Right click on it then click on edit. Copy paste the code italicized and in bold below on the first line under the .htaccess file. Click save


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


Voila! Your domain is now secure.

Leave A Comment?