Skip to main content

A minimal TLS certificate analysis CLI and library

Project description

justifycert

PyPI Python License CodeQL

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

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.1.tar.gz (5.1 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.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: justifycert-0.2.1.tar.gz
  • Upload date:
  • Size: 5.1 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.1.tar.gz
Algorithm Hash digest
SHA256 4c87709b30f92cc41f3ec3209d19359ca26b7d3194c10c3f491a128552ffeae8
MD5 90a6ea6490d93dd2e67f9de242e06dfa
BLAKE2b-256 65328f5f23870e95fd5b756ce42c68cc046e7a26759a8e7408e0254f4ea79ef6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: justifycert-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e6034ea10846532e429145533513b734a7b7584e625efd2b91c2298454b238b
MD5 5bd0b5e40a3d8bd5aa67257e1f537f9c
BLAKE2b-256 b275b9f9d2f5e37325f2e52a7a5e7e49863c81bcb07940662be958d383c01aa7

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