Skip to main content

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' -

Metadata

Release files for certificate-watcher 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for certificate-watcher 0.2.0
File Size Uploaded
certificate_watcher-0.2.0.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for certificate-watcher 0.2.0
File Interpreter ABI Platform
certificate_watcher-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / certificate_watcher-0.2.0.tar.gz

Download URL certificate_watcher-0.2.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a9d2b7abb700c3c4da877466a87131ee1130e7019f417dbc0fc6d76e70f570cb
BLAKE2b-256 checksum
How to use checksums
0abcede995a9d409b8004c40909ee535991edebc1b420f063c0435030218eaf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Release files / certificate_watcher-0.2.0-py3-none-any.whl

Download URL certificate_watcher-0.2.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e19fb0bb0944f3c36a99f722d6f6f4863e21e53873164912d5f59136e8f64779
BLAKE2b-256 checksum
How to use checksums
dd8539d6195c03d016993ccd0a9d1c2d4b5fb67b20d9ed295c7b37c5eea5618b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.8

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page