Changes in the process of issue/renew certificate
This commit is contained in:
parent
c96860c449
commit
ac1b84a842
1 changed files with 3 additions and 1 deletions
|
|
@ -391,7 +391,9 @@ class Certbot:
|
||||||
|
|
||||||
def find_missing_certificates(self, hosts):
|
def find_missing_certificates(self, hosts):
|
||||||
for host in hosts:
|
for host in hosts:
|
||||||
|
if host.startswith("-d "):
|
||||||
|
host = host[3:]
|
||||||
cert_status = self.get_certificate_status(host)
|
cert_status = self.get_certificate_status(host)
|
||||||
if cert_status != "ok":
|
if cert_status != "ok":
|
||||||
self.freeze_issue[host] = 5
|
self.freeze_issue[host] = 5
|
||||||
Functions.log(Functions.CERTBOT_LOG, Functions.DEBUG, "Freezing issue ssl for %s due failure. The certificate is %s" % (host, cert_status))
|
Functions.log(Functions.CERTBOT_LOG, Functions.DEBUG, "Freeze issuing ssl for %s due failure. The certificate is %s" % (host, cert_status))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue