There was an error updating certificate: Decoding error: Syntax error

No matter which dnsapi I use, namecheap, cloudflare, …, I get the same error:
Cannot init API for: https://acme(dot)zerossl(dot)com/v2/DV90.
Is zerossl used by cloudflare for certificate too?
Any insight would be helpful.

What command are you actually running? The full command, you can mask the FQDN.

I am using the acme.sh that fastdrw had success with on his v14:
acme.sh --issue --dns dns_namecheap -d pbx(dot)example(dot)com -d *(dot)example(dot)com
Also signed up at cloudflare and used the cf dns api:
acme.sh --issue --dns dns_cf -d pbx(dot)example(dot)com -d *(dot)example(dot)com

Also tested with other random other dnsapi and still get that same error:
Cannot init API for: (https)acme(dot)zerossl(dot)com/v2/DV90.

OK so run it with --debug to see what is happening.

Got it fixed.
I removed all prior manual methods, installed certbot via yum, generated the certs (via the letsencrypt server), installed them via Certificate Manager, copied certs, keys, and chain to proper locations (including /etc/httpd/pki…), and restarted the server.

If I cannot pry funds to do a system upgrade to a supported version from the powers that be, then I’ll be manually updating certs in 2-3 months again!

Thx for y’all’s help!

Just an update on the original issue. @kgupta confirmed that the issue on the lechecker.php has been fixed

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.