mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-25 02:47:04 +00:00
Remove a debug line added in 8cda58fb
This commit is contained in:
parent
aaa81ec879
commit
354a774989
@ -360,7 +360,6 @@ def is_domain_cert_signed_and_valid(domain, env):
|
|||||||
cert = get_ssl_certificates(env).get(domain)
|
cert = get_ssl_certificates(env).get(domain)
|
||||||
if not cert: return False # no certificate provisioned
|
if not cert: return False # no certificate provisioned
|
||||||
cert_status = check_certificate(domain, cert['certificate'], cert['private-key'])
|
cert_status = check_certificate(domain, cert['certificate'], cert['private-key'])
|
||||||
print(domain, cert_status)
|
|
||||||
return cert_status[0] == 'OK'
|
return cert_status[0] == 'OK'
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user