wait right here
This commit is contained in:
parent
7f9a035802
commit
43ae6c39e3
|
@ -424,13 +424,15 @@ class ACMEIssuerPlugin(IssuerPlugin):
|
||||||
})
|
})
|
||||||
|
|
||||||
for entry in pending:
|
for entry in pending:
|
||||||
|
# Recreate acme client for each cert
|
||||||
|
acme_client, _ = self.acme.setup_acme_client(pending_cert.authority)
|
||||||
try:
|
try:
|
||||||
entry["authorizations"] = self.acme.finalize_authorizations(
|
entry["authorizations"] = self.acme.finalize_authorizations(
|
||||||
entry["acme_client"],
|
acme_client,
|
||||||
entry["authorizations"],
|
entry["authorizations"],
|
||||||
)
|
)
|
||||||
pem_certificate, pem_certificate_chain = self.acme.request_certificate(
|
pem_certificate, pem_certificate_chain = self.acme.request_certificate(
|
||||||
entry["acme_client"],
|
acme_client,
|
||||||
entry["authorizations"],
|
entry["authorizations"],
|
||||||
entry["order"]
|
entry["order"]
|
||||||
)
|
)
|
||||||
|
@ -453,7 +455,7 @@ class ACMEIssuerPlugin(IssuerPlugin):
|
||||||
})
|
})
|
||||||
# Ensure DNS records get deleted
|
# Ensure DNS records get deleted
|
||||||
self.acme.cleanup_dns_challenges(
|
self.acme.cleanup_dns_challenges(
|
||||||
entry["acme_client"],
|
acme_client,
|
||||||
entry["authorizations"],
|
entry["authorizations"],
|
||||||
)
|
)
|
||||||
return certs
|
return certs
|
||||||
|
|
Loading…
Reference in New Issue