Alert on 30 days to expire

This commit is contained in:
Jonatan Castro 2020-11-27 09:34:16 +11:00
parent db5aca31a9
commit fab72a39dc

View File

@ -175,8 +175,8 @@ class SSLChecker:
else:
self.total_valid += 1
# If the certificate has less than 15 days validity
if context['valid_days_to_expire'] <= 15:
# If the certificate has less than 30 days validity
if context['valid_days_to_expire'] <= 30:
self.total_warning += 1
return context