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!
-
s
- Posts: 344
- Joined: 2017-7-5 09:58
Unread post
by s » 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."