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

* Fix ACME v1 when modify_account is set to false.

* Add changelog.
pull/65408/head
Felix Fontein 5 years ago committed by ansibot
parent 5f6057598e
commit 08b53b94a9

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

@ -646,9 +646,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