-
Notifications
You must be signed in to change notification settings - Fork 2k
Let's Encrypt cert issuance fails due to old protocol (ACMEv1) #1662
Comments
👋 Leaving this note for any maintainers that might be interested in fixing this problem before it breaks new deployments of Streisand with the Let's Encrypt feature on Oct 31st. The ACME client (
There's a choice here between:
Edit: There's also a first-party ACME plugin for Ansible: https://docs.ansible.com/ansible/latest/modules/acme_certificate_module.html |
Uh, so it's November now... |
Looks like this is fixed in #1668, it just needs to be merged. |
Is there a way around this? As a user, it appears this has kept Streisand from working at all in getting a server up and running since Oct, and it's unclear when the PR will be merged, so just wondering if there's any workaround. |
+1 this is causing a hard fail for me today. It crashes out of Ansible without having generated docs or leaving a progress report.
|
This is blocking hard error. Should be patched ASAP. Please merge it if it's appropriate. @jlund |
I have the same issue for fresh installation of
|
Since #1668 got merged for initial ACME v2 support for initial setup, this has mostly been solved. Though please note users might want to wait for additional cleanup work still to be done to finish Let's Encrypt renewals correctly/completely (see #1688 awaiting merge, and there may be additional tinkering in #1668 ). Many thanks to @nickgnazzo for getting us out of this pinch, and @nopdotcom for approving the merge. |
Is there a canonical way to upgrade acmetool or (better) move to letsencrypt on an existing streisand machine? I got my cert originally with acmetool, but just got an email from letsencrypt that includes
Or is it preferable to spin up a new streisand instance that includes #1668? |
Expected behavior:
Let's Encrypt cert is issued and installed during general install
Actual Behavior:
cert issuance fails due to using outdated ACME protocol version (ACMEv1)
Ansible task error
TASK [lets-encrypt : Perform initial configuration of acmetool] ***********************************************************************************
fatal: [162.209.11.147]: FAILED! => {"changed": true, "cmd": ["acmetool", "quickstart"], "delta": "0:00:01.010463", "end": "2019-10-18 02:20:29.377881", "msg": "non-zero return code", "rc": 1, "start": "2019-10-18 02:20:28.367418", "stderr": "20191018022029 [CRITICAL] acmetool: fatal: couldn't complete registration: HTTP error: 403 Forbidden\nmap[Content-Type:[application/problem+json] Content-Length:[280] Cache-Control:[public, max-age=0, no-cache] Replay-Nonce:[0102GOuWlT6DOzzt5ByE5HcUsIScmrRPoCqAnEwLMpXhZ3Q] Server:[nginx] Date:[Fri, 18 Oct 2019 02:20:29 GMT]]\n{\n "type": "urn:acme:error:unauthorized",\n "detail": "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.",\n "status": 403\n}", "stderr_lines": ["20191018022029 [CRITICAL] acmetool: fatal: couldn't complete registration: HTTP error: 403 Forbidden", "map[Content-Type:[application/problem+json] Content-Length:[280] Cache-Control:[public, max-age=0, no-cache] Replay-Nonce:[0102GOuWlT6DOzzt5ByE5HcUsIScmrRPoCqAnEwLMpXhZ3Q] Server:[nginx] Date:[Fri, 18 Oct 2019 02:20:29 GMT]]", "{", " "type": "urn:acme:error:unauthorized",", " "detail": "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.",", " "status": 403", "}"], "stdout": "\r 0 / 100 0.00%\r 0.00% \r 0.00% \r 0.00% \r 0.00% ", "stdout_lines": ["", " 0 / 100 0.00%", " 0.00% ", " 0.00% ", " 0.00% ", " 0.00% "]}
Let's Encrypt announcement
https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430
New account creation for new cert issuance under ACMEv1 stops October 1 2019, which is where we error out. Even if you already had a Let's Encrypt "account" (registered email address), the window is closing for issuance via ACMEv1
I think this also interfered with the rest of the install, as the listening https port returns a broken cert.
Steps to Reproduce:
Ansible Information
Streisand Information
Enabled Roles
The text was updated successfully, but these errors were encountered: