Skip to main content

dcert

dcert on PyPI dcert-mcp on PyPI CI License: MIT

dcert is a command line tool that decodes, validates and converts X.509 certificates and diagnoses TLS endpoints.

Install

pip install dcert
uv tool install dcert      # on PATH, in its own environment
uvx dcert example.com      # run once without installing

Examples

# Decode and validate the certificate chain of a live endpoint
dcert https://example.com

# Read a local certificate and print JSON
dcert cert.pem --format json

# Explain why an endpoint, mTLS handshake, gateway or proxy fails
dcert diagnose https://example.com

# Convert a PFX bundle to PEM files
dcert convert pfx-to-pem client.pfx --password secret --output-dir ./certs

Platforms

Platform Wheel tag
Linux x86_64, glibc 2.34+ (RHEL 9, Ubuntu 22.04, Debian 12 and later) manylinux_2_34_x86_64
macOS Intel 10.15+ macosx_10_15_x86_64
macOS Apple Silicon 11+ macosx_11_0_arm64
Windows x86_64 win_amd64

On any other platform (Linux aarch64, musl, Windows arm64) ask for dcert>=4: pip then reports "No matching distribution found" instead of falling back to the old platform independent 3.0.77 package. Use the Docker image (docker run --rm --entrypoint dcert ghcr.io/scgis-wales/dcert:latest example.com) or build from source:

cargo install --git https://github.com/SCGIS-Wales/dcert --locked --bin dcert dcert

Security

The wheel contains one native executable, no Python code and no dependencies. Nothing is downloaded at install or run time, so an install from PyPI or a private mirror needs no access to GitHub. Releases carry build provenance attestations and an SBOM; see the security policy.

MCP server

To give an AI assistant the same tools, install dcert-mcp, which brings dcert with it:

pip install dcert-mcp
uv tool install dcert-mcp --with-executables-from dcert

Documentation

The full documentation, the changelog and the security policy are in the repository.

Metadata

Release files for dcert 4.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for dcert 4.0.13
File Actions
dcert-4.0.13-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for dcert-4.0.13-py3-none-win_amd64.whl
dcert-4.0.13-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details for dcert-4.0.13-py3-none-manylinux_2_34_x86_64.whl
dcert-4.0.13-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for dcert-4.0.13-py3-none-macosx_11_0_arm64.whl
dcert-4.0.13-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details for dcert-4.0.13-py3-none-macosx_10_15_x86_64.whl

Total release size: 15.6 MB

Release files / dcert-4.0.13-py3-none-win_amd64.whl

Download URL dcert-4.0.13-py3-none-win_amd64.whl
Size 5.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7d63986909ff019798ef9acd9332085ff02dc1d8e5fee6cb3cd399a356e5647a
BLAKE2b-256 checksum
How to use checksums
4bd8efa235317d8ba8ba9568f59fb52569d29745ec4980df922cf5266f68c2d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / dcert-4.0.13-py3-none-manylinux_2_34_x86_64.whl

Download URL dcert-4.0.13-py3-none-manylinux_2_34_x86_64.whl
Size 3.6 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
b784f11118c7793d6778e47aa5b39d7eb9b0438ff2765373e673770919fa7bc5
BLAKE2b-256 checksum
How to use checksums
86d4f4abceb9605c3c33382e49059038c9c3a0aede89cf21b2369ca307692db6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / dcert-4.0.13-py3-none-macosx_11_0_arm64.whl

Download URL dcert-4.0.13-py3-none-macosx_11_0_arm64.whl
Size 3.4 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5a97cbbce3df683a95600bcf6d7aaa12326a9f780e3f4f92d732541f77c3e31a
BLAKE2b-256 checksum
How to use checksums
2c0d8d78b02e346857c27d0dd266fe2abf2264881bca8fc207249486055df056
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / dcert-4.0.13-py3-none-macosx_10_15_x86_64.whl

Download URL dcert-4.0.13-py3-none-macosx_10_15_x86_64.whl
Size 3.4 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
082a0cf2167b125c19e697370734e63c80b58b0923550ed9f61795a28a4d4bf1
BLAKE2b-256 checksum
How to use checksums
fd13ab05b6c6a3199d6c027068dab34c7bd73027dfde3e26ec0cb92c51bd2325
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for dcert 4.0.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for dcert-4.0.13-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.0.13 This release

4 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page