Installing LetsEncrypt SSL on Namecheap via acme.sh

I tried going the ZeroSSL/sslforfree route but they’re limited to 3 certs per account inclusive of expiry, but that is not reasonable. I found this site and followed the instructions but problems grew from external updates and changes. Eventually, I found solutions involving :

  • adding email before installation,
  • setting the server & ca to letsencrypt
  • setting the keylength to 2048 (default was EC and was too short)

So here’s my solution for now that worked to install letsencrypt ssl on namecheap

curl https://get.acme.sh | sh -s email=bxxxxx@yahoo.com
acme.sh --set-default-ca --server letsencrypt
acme.sh --issue --webroot /home/username/brymac.info -d brymac.info --keylength 2048 --staging
acme.sh --issue --webroot /home/username/brymac.info -d brymac.info --keylength 2048 --force
acme.sh --deploy --deploy-hook cpanel_uapi --domain brymac.info

The deploy part can be done on the cpanel, copy-pasting the cert/keys you generated.

Leave a Reply

Your email address will not be published. Required fields are marked *