Automatic Let's Encrypt SSL certificates on GoDaddy shared hosting for free

Questions and discussion about web design, search engine optimisation and hosting
TonyCanuck
Posts: 1
Joined: 2018-12-25 03:35

Unread post by TonyCanuck » 2018-12-25 04:00

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: 287
Joined: 2017-7-5 09:58

Unread post by Santeri » 2018-12-25 08:45

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

TimothyHew
Posts: 4
Joined: 2019-1-27 00:02

Unread post by TimothyHew » 2019-2-4 10:52

Wildcard ssl should be said to automatically applied to DNS server.
But I have a DNS in Namecheap.

How/where can I find TXT record to be used/inserted in Namecheap DNS server?

And my Lets Encrypt Log says,
"...
Starting domain verification process.
Token for checking has been created."

Santeri
Posts: 287
Joined: 2017-7-5 09:58

Unread post by Santeri » 2019-2-5 09:38

TimothyHew wrote:
2019-2-4 10:52
How/where can I find TXT record to be used/inserted in Namecheap DNS server?
TXT record is generated on the fly so you don´t need to add it manually. Namecheap is supported. Here are the instructions how to do it: https://github.com/Neilpang/acme.sh/tre ... -namecheap

If you want to do it manually, here are the instructions: https://github.com/Neilpang/acme.sh#9-u ... anual-mode

Cheers,

Santeri

Santeri
Posts: 287
Joined: 2017-7-5 09:58

Unread post by Santeri » 2020-4-16 19:59

I wrote detailed, step-by-step instruction how to install, configure and use acme.sh including my script: HOWTO: Automatic, free LetsEncrypt SSL certificates on GoDaddy shared hosting

Post Reply