Update README.md
This commit is contained in:
parent
d5ea5cca89
commit
230c98ba0d
@ -125,6 +125,8 @@ narbeh@narbeh-laptop:~/ssl-checker$ ./ssl_checker.py -H time.com github.com:443
|
||||
+-------------------------------------------------------------------------------------------+
|
||||
```
|
||||
|
||||
NOTE: Keep in mind that if the certificate has less than 15 days validity, the script will consider it as a warning in the summary.
|
||||
|
||||
|
||||
|
||||
## Censored?
|
||||
|
||||
@ -178,6 +178,7 @@ class SSLChecker:
|
||||
else:
|
||||
self.total_valid += 1
|
||||
|
||||
# If the certificate has less than 15 days validity
|
||||
if context['valid_days_to_expire'] <= 15:
|
||||
self.total_warning += 1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user