Fast, opinionated TLS certificate checks for developers.
- Expired or expiring certificates
- Weak signature algorithms such as SHA1
- Self-signed certificates
- Missing Subject Alternative Name (SAN)
- Basic chain validation for domain lookups
pip install justifycert$ justifycert expired.badssl.com
✖ Certificate expired — renew immediatelyjustifycert example.com
justifycert --file cert.pem
justifycert example.com --jsonfrom justifycert import analyze_cert
result = analyze_cert("google.com")
print(result["valid"])Install build and publishing tools:
pip install build twineBuild the package:
python -m buildUpload to PyPI:
twine upload dist/*