Use SSH to login to your share hosting server. Run the following command to install ACME Shell script that will provide you automatically free LetsEncrypt SSL certificates on GoDaddy shared hosting servers:
Code: Select all
curl https://get.acme.sh | sh
Code: Select all
wget -O - https://get.acme.sh | sh
It is better to use DNS API. Otherwise, if your .htaccess prevents access to the verification directory under your webroot, issuing certs will fail and you will not be able to create certificates for subdomains that are not accessible as websites like for example mail.YOUR_DOMAIN.
- Go to https://developer.godaddy.com/keys/
- Generate a production key, not the test key they are offering by default
- Use SSH to login to your shared hosting server and export the GoDaddy DNS keys for acme.sh by running the following shell commands:
Code: Select all
export GD_Secret=COPY_THE_SECRET_HERE export GD_Key=COPY_THE_KEY_HERE
Use SSH to login to your shared hosting server and issue the following command to create an SSL certificate:
Code: Select all
acme.sh --issue --dns dns_gd -d X -d www.X -d mail.X -d webmail.X -d cpanel.X
Next you can deploy your new certificate:acme.sh --issue --dns dns_gd -d forum.webseodesigners.com -d www.forum.webseodesigners.com
Code: Select all
acme.sh --deploy -d X --deploy-hook cpanel_uapi
Now you should be good to go and you can test your new certificate by accessing your website using HTTPS scheme. Please note, that there can be a few minutes delay before your new certificate becomes fully functional. The certificate will automatically renew every 2 months and in case of error, you will receive an email from CRON informing you about the problem.acme.sh --deploy -d forum.webseodesigners.com --deploy-hook cpanel_uapi
4. Usefull commands
Replace X with your domain name.
- List all certificates
Code: Select all
acme.sh --list
- Switch on automatic updates (normally I do not recommend updating anything automatically, but sometimes GoDaddy is messing up their systems and we have to adjust acme.sh to work with their changes)
Code: Select all
acme.sh --upgrade --auto-upgrade
- Forcefully renew a certificate
Code: Select all
acme.sh --renew -d X --force
- Forcefully renew all certificates
Code: Select all
acme.sh --renew-all --force
- Delete a certificate
Code: Select all
acme.sh --remove -d X
Let me know if you are experiencing any issues and I will try my best to help you. The original script I wrote for the automation is part of acme.sh: Automatic Let's encrypt SSL on GoDaddy. If you find this useful, please consider making a donation to Neil (the author of acme.sh) and sharing these instructions with others. And please, don't waste your for money buying SSL certificates from GoDaddy. Thank you.