Adding A Free SSL Cert to NameCheap
Namecheap.com is a great place to buy domain names. It also has some great shared hosting services. Unfortunately when you buy and host a domain name with them, they only give you a 1-year FREE SSL certificate and them you have to pay $8/year for each which can be expensive if you have many subdomains or domains. Although many hosting service providers do include free SSL certificates beyond the first year, the price of those services is much higher than Namecheap hosting.
Fortunately, you can use one of the free certificate issuers like: Let’s Encrypt, ZeroSSL or even Cloudflare to install using the Namecheap cPanel.
These are the steps I followed to issue and install a Let’s Encrypt certificate using the Automatic Certificate Management Environment (ACME script) which provides an easy-to-use method of automating interactions between a certificate authority.
I am glad to have found this way – as I have found that the price, performance and reliability of Namecheap hosting is much better value than other hosting providers. Hope this helps others navigate this!
Step 1: Remove existing SSL (If any)
Step 2: Enable Shell Access ( if not already enabled)
Step 3: Install Script to Manage ( One-time task on your tenant instance)
Go to Terminal under cPanel Advanced and type:
curl https://get.acme.sh | sh
Step 4: Generate the certificate.
.acme.sh/acme.sh –issue -d yourdomainname.com -d optional-seconddomainname.com -w /home/yourusername/public_html/ –server letsencrypt
acme.sh/acme.sh --issue -d yourdomainname.com -w /home/yourusername/public_html/yourdomainname
The certificates will be located in the acme directory under the domain name you requested.
Step 5: Install certificate on tenant
As we mentioned in step 4, the certificate information will be located in the acme directory under the domain name you requested.
Go back to CPanel and go to Security/TLS section
and then go to Manage SSL sites
Scroll below all of the existing certificates, you will see the Install an SSL Website section, Select your domain from the dropdown and then
Copy and paste the data inside the CER and KEY files in the corresponding fields. Leave Certificate Authority Bundle: (CABUNDLE) field
Click on Install Certificate