diff --git a/README.md b/README.md index 546a162..0639a7a 100644 --- a/README.md +++ b/README.md @@ -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? diff --git a/ssl_checker.py b/ssl_checker.py index ba5f35b..bfa6903 100755 --- a/ssl_checker.py +++ b/ssl_checker.py @@ -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