Skip to content

goranvrbaski/ssl-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SSL expiration date checker

Requirements

  • Python 3.6

or just Docker :)

Usage

Example usage of SSL expiration date checker

python app.py --help

positional arguments:
  domains               domain names

optional arguments:
  -h, --help            show this help message and exit
  -d DAYS, --days DAYS  number of days

Python

python app.py google.com,yahoo.com -d 65

Docker

docker run goranvrbaski/ssl-checker google.com,yahoo.com -d 65

Example output

python app.py google.com,yahoo.com -d 65 
2019-05-06 21:01:54,986 | WARNING | google.com expires in 63 days(s)
2019-05-06 21:01:55,477 | INFO | yahoo.com expires in 174 days(s)
  • WARNING - ssl certificate is hitting threshold and needs renewal
  • INFO - ssl certificate is not hitting threshold
  • ERROR - error occured while checking ssl certificate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published