Fixing "ACME server returned an error..." in Dokku Letsencrypt

12 Dec · by Tim Kamanin · 1 min read

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 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:

Want to get more 🔥 tips like this one?

Subscribe to get notified about new dev tutorials