Skip to main content

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  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/*

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

justifycert-0.2.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

justifycert-0.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file justifycert-0.2.0.tar.gz.

File metadata

  • Download URL: justifycert-0.2.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

Hashes for justifycert-0.2.0.tar.gz
Algorithm Hash digest
SHA256 76e722273f957fa4759957b869dd1b16bbdc7d878f8f347787fff7bab4ff5b2c
MD5 6b82ed2a0f6ed9f78bb026d80ebae8a1
BLAKE2b-256 d513cb56454f2125f7a25023b0f54aa3f0ea238c8034872836a103614ed29220

See more details on using hashes here.

File details

Details for the file justifycert-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: justifycert-0.2.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

Hashes for justifycert-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd8905c4d0e2b877acbf20dec7afd48ec92383e44e184888da6fcad34bd8cf01
MD5 e6aef8a6e32d42954d22f898e7fff015
BLAKE2b-256 bd4a91c06d3150178c5e23d8220cd6f9705e3aaec55d88a22c727cc2de821022

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