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

* Fix ACME v1 when modify_account is set to false.

* Add changelog.

(cherry picked from commit 08b53b94a9)
pull/65015/head^2
Felix Fontein 6 years ago committed by Matt Davis
parent 1ccfef9c5a
commit d7d00ed36d

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

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

Loading…
Cancel
Save