Let's Encrypt on Namecheap shared hosting

There has been lot of interest and want to know if we can install Let’s Encrypt on Namecheap Shared Hosting account.

I wanted to give it a shot and surprisingly its been successful. Please read thru the below tutorials carefully. I may warn you to do at your own risk. In no way i will be held responsible if there is a problem in your implementations. This article is all about knowing that Let’s encrypt can be installed in Namecheap Shared hosting accounts.

About Let’s Encrypt :

Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. It is a service provided by the Internet Security Research Group (ISRG).

It give people the digital certificates they need in order to enable HTTPS (SSL/TLS) for websites, for free, in the most user-friendly way they can. They do this because they want to create a more secure and privacy-respecting Web.

The key principles behind Let’s Encrypt are:

  • Free: Anyone who owns a domain name can use Let’s Encrypt to obtain a trusted certificate at zero cost.
  • Automatic: Software running on a web server can interact with Let’s Encrypt to painlessly obtain a certificate, securely configure it for use, and automatically take care of renewal.
  • Secure: Let’s Encrypt will serve as a platform for advancing TLS security best practices, both on the CA side and by helping site operators properly secure their servers.
  • Transparent: All certificates issued or revoked will be publicly recorded and available for anyone to inspect.
  • Open: The automatic issuance and renewal protocol will be published as an open standard that others can adopt.
  • Cooperative: Much like the underlying Internet protocols themselves, Let’s Encrypt is a joint effort to benefit the community, beyond the control of any one organization.

Prerequisites :

  • Namecheap Hosting Account with cPanel/FTP Access
  • Website powered by WordPress CMS
    • Plugins Used : WP Encrypt, Really Simple SSL, SSL Insecure Content Fixer.

if you are running on top of cloudflare, make sure you are having the right settings in “Crypto” settings page. This has caused me problems when i didn’t pay attention to it.

Namecheap Let’s Encrypt WordPress Solution:

Step 1 : Install a WordPress plugin called “WP Encrypt from you plugin administration panel. (I had to disable security hardening related stuffs to get this plugin working)

Step 2 : Upon activation of this plugin, Go to setting → WP Encrypt. Fill in the necessary information’s and save changes.

  • If its successful, Register Account button will be available and click “Register Account”
  • Once the account is registered, a new button will be available to generate the certificate and click “Generate Certificate”.

Step 3 : Go to your cPanel → File Manager. It can also accessed via FTP clients. Under root folder → letsencrypt → live → “Your Domain name Folder”. Download the files named,

  • cert.pem
  • chain.pem
  • private.pem

Step 4 : Go to cPanel → SSL/TLS panel → Install and Manage SSL for your site (HTTPS) and select the Domain where the certificates should be installed.

Open each file that you downloaded and open it with notepad. Copy paste the contents in the respective text boxes and click “Install Certificate”.

  • Certificate: (CRT) – cert.pem
  • Private Key (KEY) – private.pem
  • Certificate Authority Bundle: (CABUNDLE) – chain.pem

You are all set and ready to go. 

To test, visit your site with “https://”youdomainname and see if the website will load successfully. If Yes, then its all done.

To fix all the URL’s, we used a plugin called “Really Simple SSL” and its easily configurable. Make sure to pay attention to Cloudflare SSL settings if configured, if not this plugin will put your website into indefinite reload loop. Then you have to disable the plugin to get the site accessible.

if you had mixed contents, then use a plugin called “SSL Insecure Content Fixer” to solve most insecure content warnings with little or no effort.

Hope this tutorial is useful and feel free to post comments and require any assistance. Happy to help.

 

 

2 COMMENTS

  1. Sorry for delayed response, you might have figured this already. For some reason, auto renew didn’t work for me. Been doing it manually for a while.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.