Skip to main content

A tool to check SSL certificate expiration dates.

Project description

zopyx.ssl-cert-check

A tool to check SSL certificate expiration dates.

Installation

You can install the package using pip or uv.

Using pip

pip install .

Using uv

uv pip install .

Usage

The tool checks SSL certificate expiration for a list of domains specified in a configuration file.

Default configuration

By default, it looks for a file named .ssl_domains in your home directory.

Create a file at ~/.ssl_domains with the following format (domain and port on each line):

example.com 443
another-domain.com 443

Then, run the following command:

check-ssl-domains

Custom configuration file

You can also provide a path to a different configuration file using the first argument:

check-ssl-domains /path/to/your/config_file

The format of the configuration file is the same as the default one.

Example output

The tool will print a table with the host, port, days until expiration, and the status:

| Host               | Port | Expires In (Days) | Status      |
|--------------------|------|-------------------|-------------|
| example.com        | 443  | 30                | 30 days     |
| another-domain.com | 443  | 60                | 60 days     |

License

MIT

Copyright

(C) 2025 by Andreas Jung

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

zopyx_ssl_cert_check-0.4.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zopyx_ssl_cert_check-0.4.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file zopyx_ssl_cert_check-0.4.1.tar.gz.

File metadata

  • Download URL: zopyx_ssl_cert_check-0.4.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for zopyx_ssl_cert_check-0.4.1.tar.gz
Algorithm Hash digest
SHA256 3c129c47ae3fbca85619898f0281ef8ee7605a2e6bf03742a4d02fe4b5f34d90
MD5 2e5cf8afabe36c061d0676552941e26b
BLAKE2b-256 dc4be838478af3c065dbe16d633f2aa1f5e7b94cda71ad66a1ad3c6637d58874

See more details on using hashes here.

File details

Details for the file zopyx_ssl_cert_check-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for zopyx_ssl_cert_check-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7da97867506eb43a70edb7b371334a7245a5a19f2e9e8c7abf0e652b3fd16d28
MD5 b68e2c029e2b030a075af6189adabd86
BLAKE2b-256 5128094d2b491391b2f03ebe727ec1e90f000df7738e5e8b8c91f3c7b526fca7

See more details on using hashes here.

Supported by

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