show SSL certificate expiration info in the control panel even long before certificates expire

This commit is contained in:
Joshua Tauberer
2014-10-07 14:49:36 +00:00
parent 20892b5d5b
commit 7d1c0b3834
3 changed files with 25 additions and 20 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ def get_domain_ssl_files(domain, env):
# the user has uploaded a different private key for this domain.
if not ssl_key_is_alt:
from status_checks import check_certificate
if check_certificate(domain, ssl_certificate_primary, None) == "OK":
if check_certificate(domain, ssl_certificate_primary, None)[0] == "OK":
ssl_certificate = ssl_certificate_primary
# Where would the CSR go? As with the SSL cert itself, the CSR must be