Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:
I ran this command:
sh acme.sh to get a new cert prior to expirey (its not crond)
It produced this output:
new-authz error: {“type”:“urn:acme:error:unauthorized”,“detail”:“Error creating new authz :: Validations for new domains are disabled in the V1 API (End of Life Plan for ACMEv1)”,“status”: 403}
[Sun 16 Aug 2020 11:08:56 AEST] Please add ‘–debug’ or ‘–log’ to check more details.
[Sun 16 Aug 2020 11:08:56 AEST] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
My web server is (include version):
The operating system my web server runs on is (include version):
osx 10.11
My hosting provider, if applicable, is:
Cloudflare
I can login to a root shell on my machine (yes or no, or I don’t know):
yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
acme.sh version 2.8.7
Question is how do i upgrade my api to v02 ?
currently it v01 and wont let me renew a cert due for renewal in 5 days
i run a multidomain sh script not cron and the result below :
un 16 Aug 2020 18:12:33 AEST] Getting domain auth token for each domain
[Sun 16 Aug 2020 18:12:33 AEST] Getting webroot for domain=‘domain.com’
[Sun 16 Aug 2020 18:12:33 AEST] Getting new-authz for domain=‘domain.com’
[Sun 16 Aug 2020 18:12:36 AEST] The new-authz request is ok.
[Sun 16 Aug 2020 18:12:36 AEST] new-authz error: {“type”:“urn:acme:error:unauthorized”,“detail”:“Error creating new authz :: Validations for new domains are disabled in the V1 API (End of Life Plan for ACMEv1)”,“status”: 403}
[Sun 16 Aug 2020 18:12:36 AEST] Please add ‘–debug’ or ‘–log’ to check more details.
[Sun 16 Aug 2020 18:12:36 AEST] See: https://github.com/Neilpang/acme.sh/wiki/How-to-debug-acme.sh
What do you mean? The value is empty? Or the file doesn't exist?
I'm not really sure what we're missing here. The latest version of acme.sh is supposed to automatically upgrade from ACMEv1 to ACMEv2 anyway. And, supposedly, you are using the latest version.
Thats good to know but the script does other things it stops kerio mail server and copies the keys over ....
When i do the --list at the end of the line it states :https://acme-v01.api.letsencrypt.org/directory Sat 23 May 2020 01:15:17 UTC Wed 22 Jul 2020 01:15:17 UTC
--renew remembers that it needs to do all of the install/deploy steps, from the first time you did this. It does this by looking in the .conf file. All those steps are in there as a base64-encoded string.
So you don't need to tell it to do it again. You just need to tell it to change --server.
--renew -d mail.example.com --server letsencrypt
the main domain CAN be a subdomain right ? mail.example.com bc the main example.com is covered by a cloudflare SSL
Solid Advice, it worked exactly as you suggested, thankyou for you time and patience _az very appreciated.
Could i just then cron that exact command every 60 days ?