This commit is contained in:
Felix Fontein
2021-02-11 07:53:50 +01:00
committed by GitHub
parent c20553ce68
commit ea889ce2ad
2 changed files with 2 additions and 3 deletions

View File

@@ -1153,8 +1153,7 @@ class ACMEClient(object):
if cert['cert'] is not None:
pem_cert = cert['cert']
chain = [link for link in cert.get('chain', [])]
chain = list(cert.get('chain', []))
if self.dest and write_file(self.module, self.dest, pem_cert.encode('utf8')):
self.cert_days = get_cert_days(self.module, self.dest)