A minimal TLS certificate analysis CLI and library
Project description
justifycert
Fast, opinionated TLS certificate checks for developers.
What it checks
- Expired or expiring certificates
- Weak signature algorithms such as SHA1
- Self-signed certificates
- Missing Subject Alternative Name (SAN)
- Basic chain validation for domain lookups
Install
pip install .
Example
$ justifycert expired.badssl.com
✖ Certificate expired 10 days ago — renew immediately
Use
justifycert example.com
justifycert --file cert.pem
justifycert example.com --json
Library
from justifycert import analyze_domain, analyze_pem_file
result = analyze_domain("example.com")
print(result["valid"])
print(result["issues"])
The library returns a plain Python dictionary with:
{
"valid": bool,
"issues": [...],
"subject": "...",
"issuer": "...",
"not_before": "...",
"not_after": "...",
"signature_algorithm": "...",
}
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 Distribution
justifycert-0.1.0.tar.gz
(4.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file justifycert-0.1.0.tar.gz.
File metadata
- Download URL: justifycert-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
548e9bb6a49196df4ee37b606554e5611acfa9635fccb1e4e07a7cad05aa83db
|
|
| MD5 |
e07e5355d10ff8965a540be28a7ae0b9
|
|
| BLAKE2b-256 |
6f52b120fc8b9f17e5ca4f45d9fec49f68f128314c4ecd85806bea896348d0f1
|
File details
Details for the file justifycert-0.1.0-py3-none-any.whl.
File metadata
- Download URL: justifycert-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41e107980b6456ea751530acc309321aced733ae4a8e0caa54cfd02ff8bfa1be
|
|
| MD5 |
8a1f1667f1f8a3dc9bb2a43de73a360d
|
|
| BLAKE2b-256 |
9824793d91318489be70a87505a22ba05c5c33dbd2918be63314eb6e38b6a9ca
|