Alert on 30 days to expire
This commit is contained in:
parent
db5aca31a9
commit
fab72a39dc
@ -175,8 +175,8 @@ class SSLChecker:
|
|||||||
else:
|
else:
|
||||||
self.total_valid += 1
|
self.total_valid += 1
|
||||||
|
|
||||||
# If the certificate has less than 15 days validity
|
# If the certificate has less than 30 days validity
|
||||||
if context['valid_days_to_expire'] <= 15:
|
if context['valid_days_to_expire'] <= 30:
|
||||||
self.total_warning += 1
|
self.total_warning += 1
|
||||||
|
|
||||||
return context
|
return context
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user