Fixing "ACME server returned an error..." in Dokku LetsencryptDec 12, 2019 · by Tim Kamanin
If you're on Dokku and after executing
dokku letsencrypt <app_name> you get an error that looks like this:
ACME server returned an error: urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details.
That means that your Dokku letsencrypt plugin is outdated and the only thing you need to do is to upgrade it, here's how to do that:
sudo dokku plugin:update letsencrypt
And now run
dokku letsencrypt <app_name> once again, and you should be fine!
Oh my, how I love Dokku! Can you imagine how much time would you lose without it? Then go and support it with some coin: https://opencollective.com/dokku#sponsor.