acme_certificate: Fix ACME v1 support when modify_account is set to false (#64648) (#65413)

* Fix ACME v1 when modify_account is set to false.

* Add changelog.

(cherry picked from commit 08b53b94a9)
pull/65516/head
Felix Fontein 6 years ago committed by Matt Davis
parent 0ed744c0a0
commit b186ba8ee3

@ -0,0 +1,2 @@
bugfixes:
- "acme_certificate - fix misbehavior when ACME v1 is used with ``modify_account`` set to ``false``."

@ -511,9 +511,6 @@ class ACMEClient(object):
Return the authorization object of the new authorization
https://tools.ietf.org/html/draft-ietf-acme-acme-02#section-6.4
'''
if self.account.uri is None:
return
new_authz = {
"resource": "new-authz",
"identifier": {"type": identifier_type, "value": identifier},

Loading…
Cancel
Save