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 justifycert
Example
$ justifycert expired.badssl.com
✖ Certificate expired — renew immediately
Use
justifycert example.com
justifycert --file cert.pem
justifycert example.com --json
Library Usage
from justifycert import analyze_cert
result = analyze_cert("google.com")
print(result["valid"])
Development
Install build and publishing tools:
pip install build twine
Build the package:
python -m build
Upload to PyPI:
twine upload dist/*
Metadata
Release files for justifycert 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| justifycert-0.2.1.tar.gz | 5.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| justifycert-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 kB
Release files / justifycert-0.2.1.tar.gz
| Download URL | justifycert-0.2.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c87709b30f92cc41f3ec3209d19359ca26b7d3194c10c3f491a128552ffeae8
|
|
BLAKE2b-256 checksum How to use checksums |
65328f5f23870e95fd5b756ce42c68cc046e7a26759a8e7408e0254f4ea79ef6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / justifycert-0.2.1-py3-none-any.whl
| Download URL | justifycert-0.2.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e6034ea10846532e429145533513b734a7b7584e625efd2b91c2298454b238b
|
|
BLAKE2b-256 checksum How to use checksums |
b275b9f9d2f5e37325f2e52a7a5e7e49863c81bcb07940662be958d383c01aa7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|