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

Dec 12, 2019 · Updated: Dec 19, 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 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:

Hey, if you've found this useful, please share the post to help other folks find it:

There's even more:

Subscribe for updates

  • via Twitter: @timonweb
  • old school RSS:
  • or evergreen email ↓ ↓ ↓