Installing an SSL is not mandatory if you have a general website or personal blog. However, a few months back, Google acknowledged that they use SSL or HTTPS as a ranking factor. Hence, if you want to get a little bit more exposure in the eyes of the giant search engine, installing SSL can help you a bit. Google Chrome has started showing a “Not Secure” tag in the address bar if a website doesn’t have SSL or HTTPS – and so, it may damage the user experience if you do not install SSL. ServerPilot is a helping hand if you use unmanaged VPS. You will be able to install WordPress in a very easy way. This online tool allows users to install SSL. However, that is a free and shared SSL. If you do not want to use a shared SSL certificate for your website and you want to install Positive SSL on ServerPilot, this is the guide you need.

Install SSL on ServerPilot

To install SSL on your domain, you need a few things:

CyberduckPutty (You can download from official website)SSL certificate from a reliable sourceCSRPrivate keyServer IP addressRoot password

First, you need to obtain the Positive SSL certificate for your domain. For that, you can head over to the website from where you purchase the SSL and issue a certificate for your domain. During that period, you need to generate CSR. You can visit this website to make a CSR for your domain. During the CSR generation, you should enter www.your-domain.com if your site URL is http://www.your-domain.com. If your site URL is http://your-domain.com, you have to enter YOUR-DOMAIN.COM. They provide SSL only for one version of your site URL (with or without WWW). Also, you will get two things, i.e., CSR and Private Key. You must have to make a copy of these two things. Also, make sure they are separate files. For CSR, you should get the starting and ending tags like this- For Private key, you will get the tags like this- Save the CSR with .csr extension and save the Private key with .key extension. After the domain verification, most of the SSL certificate issuers send the certificate files via email. You should get a zip file that contains these files- After having them all, open Putty and log into your server. You can find a window like this- Enter the IP address, use 22 as Port and hit the Enter button. Therefore, you need to user “root” as username and the root password. After that, enter this command- In this folder, upload these following files- You can use Cyberduck to upload all the files. Following that, enter this command in Putty- In some cases, the SSL provider can send only two files: The .ca-bundle is nothing but a consolidated file of other three files as mentioned above. If you received these files instead of four certificate files, you need to upload these two in the your-domain.com folder. Following that, you can enter this command in Putty- After that, enter this command- Do not forget to change the app-name.d with your app name. In the app-name.d directory, create a file and name it ssl.conf. Open up this file with Notepad or any other text editor and enter these lines of code- Do not forget to replace the given file names with your own file names. After that, create another file in the same directory and name it off.nossl_conf. Open up this file with any text editor and add this: Now enter this command in Putty- It should show a success message like this-

If it shows a success message, you need to restart Nginx. For that, enter this command- Now, you should check whether your SSL has been installed successfully or not. There is an online tool called SSL Checker. You can visit the website and enter your domain name. You should get a message like this-

Now, you need to make all the redirections. For instance, you need to redirect from http to https. If you have already added the website in Google or Bing Webmaster Tools or Search Engine Console before installing the SSL, you need to verify your website there too. On the other hand, you need to make all the changes in various social networking platforms like Facebook, Twitter, etc.

Get HTTPS with WWW

You need to enter this in the htaccess file:

Get HTTPS without WWW

In case nothing is working, you can install this WordPress plugin called Really Simple SSL on your WordPress site. Now you can keep using your website with HTTPS. Hope this guide would be helpful for you.