Check TLS certificates of sites for their expiration dates. Send notifications if configured to do so.
Project description
check_certs
Check TLS certificates of sites for their expiration dates. Send notifications if configured to do so.
Plugins
The script uses plugins to send out notifications. The file name of a notification plugin should be <plugin_name>_notifier.py
, and should be put in the plugins/
directory.
Configuration File
The script looks for a certs.yaml file as its configuration in the following locations,
- current work directory, i.e.
./
~/.check_certs/
directory/etc/check_certs/
directory
The configuration file has two main sections, defaults
and sites
.
The defaults
section lists the default values of known settings to the script and its plugins. In the defaults[notifiers]
section, each key should be a plugin name, which should match the prefix of the file name of the actual plugin module.
The sites
section lists all the sites the script checks and their individual configurations if needed. Every default configuration can be overridden in this section.
There is an example configuration file in the examples directory.
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 Distributions
Built Distribution
File details
Details for the file check_certs-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: check_certs-0.1.8-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 019460dd4104a9078a9c02c677933fc106222a0bb1fd075a21fadf7da4a79d06 |
|
MD5 | b080d8ed0095b487b013b1a0da7ac3ab |
|
BLAKE2b-256 | a99bca47319ba2111f605e83b5a3729941e7c797eb4768b0ca8d192360bca4d1 |