Install FREE SSL Certificate on Shared Hosting (from cPanel) by Let’s Encrypt

Install FREE SSL Certificate on Shared Hosting (from cPanel) by Let’s Encrypt

Install FREE SSL Certificate on Shared Hosting (from cPanel) by Let’s Encrypt

SSL is the backbone of our secure Internet. Not just the Green Bar, It basically protects your sensitive information. An SSL certificate activates the padlock and the https protocol and allows secure connections from a web server to a browser. Bellow are some references for more information about “Why SSL is important and Why it impacts on SEO score”

Do SSL Certificates Affect Search Rankings?

Anyways, SSL certificates are costly and for a blogger or small size business owner it is impossible to bear the SSL certificate charges.

Let’s Encrypt is a free, automated, and open Certificate Authority.

How to Install Let’s Encrypt Free SSL on Shared Hosting?

  1. Login to your cPanel and Enable SSH Access. How to?
  2. Connect to your host from putty or any other ssh client.
  3. Now you are in Terminal of your Host.
  4. Install Git if not installed.
  5. Clone Acme Client from git by the following command
    git clone
  6. Navigate to acme-client
    cd acme-client
  7. Install Composer
    php -r "copy('', 'composer-setup.php');"; 
    php composer-setup.php;
    php -r "unlink('composer-setup.php');";
    php composer.phar install --no-dev
  8. Now After completing the previous steps successfully go for SSL generation: Run the following command replacing the Red text with your own email ID
    php bin/acme setup --server letsencrypt --email
  9. Now Run the following command with replacing the Red texts with your own url and path
    php bin/acme issue --domains --path /home/your_hosting_username/public_html:/home/your_hosting_username/public_html --server letsencrypt
  10. If successfully generated you’ll find the certificate files in
  11. To access those files simply go to file manager and open acme-client/data/
  12. You’ll find 4 files like bellow. You need the 2 of them cert.pem & key.pem as selected in the image. SSL
  13. Now open two files in 2 new tabs. a and open the cPanel Home and navigate to SSL/TLS 
  14. Go to the option “Install and Manage SSL for your site (HTTPS)”.
  15. Now select the domain you want to install ssl for from the List (if any).
  16. Now Copy the Full content of the cert.pem file and paste into the Certificate field. And Copy the full content of key.pem file and paste into the Private Key Field and click Install.
  17. No more steps, Welcome to the Green Bar.

How to check the Validity of the certificate?

Its important because the major problem with this Let’s Encrypt certificate is that – You have to renew the certificate in every 3 months. You can check the certificate’s expiry date by the following command: (Change the Red text)

php acme-client/bin/acme check --name --server letsencrypt

How to Renew Let’s Encrypt SSL?

Run the following command from ssh

php acme-client/bin/acme issue --domains --path /home/your_hosting_username/public_html:/home/your_hosting_username/public_html --server letsencrypt

Then Check if the Site’s SSL validity is updated or not. If still not updated then follow the Step no 16. Then it’ll work fine.

Still having problem? Comment bellow or you may contact us.

Facebook Comments


Sunil is the founder of The Soul of Design. He is a passionate blogger, Web application Developer, Musician. Expert on php, codeigniter, Wordpress, bootstrap etc.

Leave a Reply

Related Posts

Enter your keyword