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 expire 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
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
File details
Details for the file certificate_watcher-0.0.5.tar.gz
.
File metadata
- Download URL: certificate_watcher-0.0.5.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 285e869c3e164dc6ba789afbbdd9d1656c3bb60836ea76205e4f21c9f53b7734 |
|
MD5 | ebc357fe7b6345813cd8fa5a05480d4f |
|
BLAKE2b-256 | fc82cde214bbfb51be772c3cb52ad2085bda33ef82806aa373c05d5690ab1948 |
File details
Details for the file certificate_watcher-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: certificate_watcher-0.0.5-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c49266982f8742eea1390cc62ec318a5fe97f1425395c6ca4d8922460af34b0 |
|
MD5 | cc140acd99847fe9edf169238bc56c3a |
|
BLAKE2b-256 | d8b33989cc6434bc3a2b1bff1758f8622431c767582fcbc7755a7edfbf7be624 |