Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

certificate_watcher-0.0.6.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

certificate_watcher-0.0.6-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file certificate_watcher-0.0.6.tar.gz.

File metadata

  • Download URL: certificate_watcher-0.0.6.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for certificate_watcher-0.0.6.tar.gz
Algorithm Hash digest
SHA256 63c2c20cc989335cb9fcab920558831bb9f6bed03f6f241ef0ec45d54923fce0
MD5 93b2b2401fe6f96ff0ddffc89846559f
BLAKE2b-256 14aed733cbfa406c675c7f72a1e630f6e24d446f070bde4caebcbc1decb36d62

See more details on using hashes here.

File details

Details for the file certificate_watcher-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: certificate_watcher-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for certificate_watcher-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 021425fc8bdb3eaf52e418b7dcee2716c7babcc8a1cf82f69847e9f7286d37d7
MD5 f6d289baa4c003f052d0ab850e79c4d6
BLAKE2b-256 bc4d9c8cb22d4a9c31c4675d65c7b21573f637b60359a1c42e2b589db710586c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page