SSL Expiry
Check TLS certificate expiration dates on port 443.
Install
pip install lupaxa-ssl-expiry
ssl-expiry --help
CLI
ssl-expiry example.com example.org
ssl-expiry --file hosts.txt --warn-days 14
python -m lupaxa.ssl_expiry --version
Results print as a table with host, issuer, date, and days columns. Every
host is a row, including invalid hosts and connection failures. The issuer
is the certificate's organization name, or its common name when the
organization is absent. The command exits 1 when a certificate expires
within --warn-days (default 30), is already expired, or the host is
invalid. --sort host, --sort issuer, --sort date, or --sort days
orders the table. --order descending reverses that order.
Library
from lupaxa.ssl_expiry import lookup
result = lookup("example.com")
print(result.status, result.issuer, result.expiration, result.days_remaining)
Development
make init
make python-install-dev
make python-check
make mkdocs-serve
Documentation
The published guide is at https://ssl-expiry.thelupaxaproject.org/.
Site Markdown lives in mkdocs/.
Release files for lupaxa-ssl-expiry 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lupaxa_ssl_expiry-0.1.2.tar.gz | 8.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lupaxa_ssl_expiry-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.2 kB
Release files / lupaxa_ssl_expiry-0.1.2.tar.gz
| Download URL | lupaxa_ssl_expiry-0.1.2.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34b742572d3bf273e4c10c278097befa493ea59cfd099f956c997f28eee0cba4
|
|
BLAKE2b-256 checksum How to use checksums |
1c7e4a8c6d85ca3e82d57c1562e172f79ec6f6f53316d4b8b78fa99352951470
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / lupaxa_ssl_expiry-0.1.2-py3-none-any.whl
| Download URL | lupaxa_ssl_expiry-0.1.2-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a3a1a27f91f64fa5ded4664899223be001bed5c73fce7fc658268bae9fba834
|
|
BLAKE2b-256 checksum How to use checksums |
6451943c0dbfa5857e6635a3deb9b8cccbf374aa19a01c46eb96018fb35913e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency log