DevOpsDevOps

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:

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

bash
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.

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