How to install Lets Encrypt SSL/TLS certificate on GoDaddy shared hosting

By Tzu-Cheng Chuang 4-29-2018

Purpose: Easily set up Lets Encrypt SSL/TLS certificate on Godaddy shared hosting

Steps:

1. SSH to log into your Godaddy shared hosting terminal

2. Download and install acme.sh

[user@host ~]curl https://get.acme.sh | sh
Or:
[user@host ~]wget -O -  https://get.acme.sh | sh


3. Check acme.sh directory ~/.acme.sh

[user@host ~]ls /home/{YOUR_USER_NAME}/.acme.sh


4. Exit the shell and re-login to make the alias working

[user@host ~]exit


5. Issue SSL certificate

[user@host ~]acme.sh --force --issue -d {YOUR_DOMAIN_NAME} -d www.{YOUR_DOMAIN_NAME}  -w ~/public_html 


6. Deploy SSL to Godaddy host

[user@host ~]acme.sh --deploy -d {YOUR_DOMAIN_NAME} -d www.{YOUR_DOMAIN_NAME} --deploy-hook cpanel_uapi 


7.You are done. Note: the cron job to auto-renew SSL certificate is also set-up. Check the cron job by the following.

[user@host ~]crontab -l
23 0 * * * "/home/user/.acme.sh"/acme.sh --cron --home "/home/user/.acme.sh" > /dev/null


Reference:

Check this project: https://github.com/Neilpang/get.acme.sh