Connect with us

Hi, what are you looking for?

Linux

How to Install Free SSL from Lets Encrypt on Linux Shared Hosting

How to Install Free SSL from Lets Encrypt on Linux Shared Hosting. Linux Shared hosting is the most cost saving shared hosting solution. Nowadays HTTPS has great importance in the terms of web security. To implement HTTPS we need SSL certificates to secure the website and web apps. Now SSL certificates are found over the World wide web and its is so cheap and most important thing is Lets encrypt provides these SSL certificates free of cost to the web properties. It provides secure environment for your web property. It is very difficult to implement these feature in shared hosting. This tutorial provides Free SSL generation using Letsencrypt. You need a SSH connection in order to get the SSL certificates from your terminal and you need to add those free SSL certificates using your cpanel.

Pre request
  • You need to add  DNS A records to your DNS provider and domain name must be points towards your public server IP.
  • You need to use and enable the SSH manager to run the given commands on your shared hosting provider.
Step-1 (Download the ACME PHP scripts to get the Letsencrypt SSL certificates)
Using curl
$ curl https://github.com/acmephp/acmephp/releases/download/1.0.0-beta4/acmephp.phar

OR

Using wget
$ curl https://github.com/acmephp/acmephp/releases/download/1.0.0-beta4/acmephp.phar
Step-2 (Register your email address with Lets Encrypt)
$ php acmephp.phar register techbrown@hotmail.com
Step-3 (Prove that you are the owner of your domain)
$ php acmephp.phar authorize techbrown.com
Step-4 (Check that your domain name is pointed towards to your server or not)
$ php acmephp.phar check techbrown.com
Step-5 (Get your Free Lets Encrypt SSL certificate)
$ php acmephp.phar request techbrown.com
Step-6 (Find your Free Lets Encrypt SSL certificates and private key and you need to note it down)
Full Chain Certificate
$ cat ~/.acmephp/master/certs/techbrown.com/fullchain.pem
Certificate private key
$ cat ~/.acmephp/master/private/techbrown.com/private.pem
Step-7 (Add your Free Lets Encrypt SSL certificates using your Cpanel)

Step-8 (Add cron job using cpanel to renew the certificates automatically)

Add the given lines to cronjob to renew your certificates automatically php acmephp.phar request techbrown.com

Conclusion

Now you have successfully generated your SSL certificates using the above method now you have enabled HTTPS for your web property. You will get some performance boosts using HTTPS protocol. If you have and queries regarding this topic and help then you need to use the comment section below.

Comments
Advertisement
Advertisement

Linux

DNF stands Dandified YUM and this is the default package manager for RHEL 8 / CentOS 8.  This tutorial explains you how to create...

Linux

If you forget a root password of your RHEL 8 and CentOS 8 and want to reset the password so that the RHEL 8...

Windows

How to auto upgrade JioFi firmware for JioFi 2 / JioFi 3 / JioFi 4 / JioFi 5 / JioFi 6 and other JioFi...

Linux

How to Upgrade WordPress Server from Ubuntu 16.04 to Ubuntu 18.04. Right now, Ubuntu 18.04 has been released with tons of new features. Upgrading...

Linux

How to Enable TLS 1.3 on Nginx Web Server. Nginx is a ultra fast web server optimized for modern web applications and servers. TLS...

Advertisement

You May Also Like

Windows

How to auto upgrade JioFi firmware for JioFi 2 / JioFi 3 / JioFi 4 / JioFi 5 / JioFi 6 and other JioFi...

Linux

DNF stands Dandified YUM and this is the default package manager for RHEL 8 / CentOS 8.  This tutorial explains you how to create...

Windows

How to download and install the Mobile Intel 4 Series Express Chipset Graphics Drivers for Windows 10.  Windows 10 is the one of the...

Windows

How to Install and Configure PCSX2 on Windows 10. The Windows 10 is the most recommended operating system for the Games. In stream platform...