Watch expiration of certificates of a bunch of websites.
Project description
Lists expiration time of soon-to-be expired ssl certificates of all given domains like:
./certificate_watcher.py mdk.fr python.org duckduckgo.com mdk.fr:Certificate expires in 2 days
The list of domains can be given as a file, using the -f
or
--from-file
argument. In this file, list each domains, one per
line. Blank lines and lines starting with '#' are ignored.
An optional port can be given using the usual syntax host:port
, for
example imap.protonmail.com:443
.
An optional IP address can be given using an @
, this is usefull to
poke multiple backends like:
./certificate_watcher.py example.com@10.1.0.1 example.com@10.1.0.2
A domain to be resolved can be used in this field to, like:
./certificate_watcher.py example.com@backend1.example.com example.com@backend2.example.com
The @host
and :port
have no specific order, both
example.com:443@127.0.0.1
and example.com@127.0.0.1:443
mean the
same test.
Exemple domain file:
# Our project
example.com
www.example.com
mail.example.com
dev.example.com
demo.example.com
testing.example.com
git.example.com
# Friends
duckduckgo.com
mamot.fr
protonmail.com
# IMAP
imap.protonmail.com:993
Usefull as a daily cron, typically like this:
certificate_watcher -f /home/you/.certificate_watcher
Or if you use IRC:
certificate_watcher -f /home/you/.certificate_watcher | irk '#your_project_channel' -
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for certificate_watcher-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53397cde589ab49e391ba3bcfd595364a8317d43bd162953a3f5a6efd49f691a |
|
MD5 | 744d5d76c6843f4d23064daf89b1c4a8 |
|
BLAKE2b-256 | 07122d2b4faee1d58b2a94726462f931b659a27c73dbe0553f2cc30176877629 |
Hashes for certificate_watcher-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 463be2716af7584d90a684dabbeaace4f3ef270ccb1571f6ce0dc9cbd2bc5010 |
|
MD5 | a2a21254be34a86fc3bcc680f0d3ff54 |
|
BLAKE2b-256 | b80e21d1c0fe1f80acfa2700d3203d35818e04f903341de696e00021c208f5f3 |