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 :port
must appear before @host
, like:
example.com:443@fe80::5c5b:9f32:13b1:29c3
.
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.2.0.tar.gz
.
File metadata
- Download URL: certificate_watcher-0.2.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9d2b7abb700c3c4da877466a87131ee1130e7019f417dbc0fc6d76e70f570cb |
|
MD5 | cf941320545dc7a558f72283ad2f78b3 |
|
BLAKE2b-256 | 0abcede995a9d409b8004c40909ee535991edebc1b420f063c0435030218eaf6 |
File details
Details for the file certificate_watcher-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: certificate_watcher-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19fb0bb0944f3c36a99f722d6f6f4863e21e53873164912d5f59136e8f64779 |
|
MD5 | 3e0802a7318b82f036b32db86f5129c7 |
|
BLAKE2b-256 | dd8539d6195c03d016993ccd0a9d1c2d4b5fb67b20d9ed295c7b37c5eea5618b |