According to the official website, this ACME version 1 was disabled on October 1st for staging websites and it will be disabled for production on November 1st. Please see the dates on the website below:
Expected behavior: Error at the step: TASK [letsencrypt : Generate the certificates]
Actual behavior: It is showing this error:
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.
Reproduces how often: 100%
Ansible: 2.7.5
Trellis: 1.1.0
macOS Mojave: 10.14.6 (18G103)
You can find more details on the link below:
https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430
馃槰 thanks for letting us know about this, I had no idea. I've got an initial PR up at https://github.com/roots/trellis/pull/1114.
Definitely needs more testing and possible more work!
I can confirm your PR works. I've just applied the diff from the commit with
patch -p1 < 16d2cf8e96ed01357386ed8f4a498d5e713836ce.diff
and was able to provision Lets Encrypt. 馃挭
Was also able to provision a new letsencrypt certificate on my end, so it seems to work, thanks @swalkinshaw
I tested several times to different domains and I can confirm that the Lets Encrypt v2 patch is working fine. You're a Ninja.
Thank you for testing this 馃檱 I'm publishing a release tonight to ensure everyone has as much time as possible to get this update. If you don't want to upgrade to a new release, at least apply the patch as @lekkerduidelijk suggested 馃槃
I just published a thread on our forums with more details on this: https://discourse.roots.io/t/trellis-and-lets-encrypt-v1-end-of-life/16816/2
The most important part:
Existing Trellis sites should continue work for renewing certificates until June 2021. This is because if you鈥檝e provisioned prior to Nov 2019, your account will already exist.
Most helpful comment
I can confirm your PR works. I've just applied the diff from the commit with
and was able to provision Lets Encrypt. 馃挭