Automatic Let's encrypt SSL on GoDaddy

Questions and discussion about web design, search engine optimisation and hosting
TonyCanuck
Posts: 1
Joined: Tue Dec 25, 2018 3:35 am
Contact:

Re: Automatic Let's encrypt SSL on GoDaddy

Unread post by TonyCanuck » Tue Dec 25, 2018 4:00 am

Hi,

Just following along on this for the first time. I have made it to and completed the step with this line:

Code: Select all

acme.sh --issue -d MYSITE.com -d www.MYSITE.COM -w ~/www --dns dns_gd
Do I need to run any other commands after that now that the script in the original post has been fixed in ACME already (as of Dec 2018)?

Is there a command I can run to see if things will renew correctly, or do we just wait?

Thanks so much for this post!

Santeri
Posts: 71
Joined: Wed Jul 05, 2017 9:58 am
Contact:

Re: Automatic Let's encrypt SSL on GoDaddy

Unread post by Santeri » Tue Dec 25, 2018 8:45 am

Hi Tony,

You don't need both of these verifying options. Just one is enough:
Webroot -w ~/www
DNS --dns dns_gd

If you have a .htaccess with redirects, then DNS is better. Otherwise you need to add the following exception to your .htaccess redirects

Code: Select all

RewriteRule ^.well-known/ - [L,NC]
Also don't forget to export GD_Key and GD_Secret before using the DNS option.

After issuing certificate you need to deploy it:

Code: Select all

acme.sh  --deploy  -d example.com  --deploy-hook cpanel_uapi
Cron job will be added automatically. Just make sure your email address is correctly added to cpanel to make sure cron output is sent to you by email. This way you will get an error email if renew fails.

In general if things go wrong, you will get an error message. Otherwise everything is fine.

Cheers,

Santeri

Post Reply