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.
This commit is contained in:
parent
5f6057598e
commit
08b53b94a9
2 changed files with 2 additions and 3 deletions
2
changelogs/fragments/64648-acme_certificate-acmev1.yml
Normal file
2
changelogs/fragments/64648-acme_certificate-acmev1.yml
Normal file
|
@ -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
|
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…
Reference in a new issue