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.14

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.14
File Actions
dcert-4.0.14-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for dcert-4.0.14-py3-none-win_amd64.whl
dcert-4.0.14-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details for dcert-4.0.14-py3-none-manylinux_2_34_x86_64.whl
dcert-4.0.14-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for dcert-4.0.14-py3-none-macosx_11_0_arm64.whl
dcert-4.0.14-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details for dcert-4.0.14-py3-none-macosx_10_15_x86_64.whl

Total release size: 15.6 MB

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

Download URL dcert-4.0.14-py3-none-win_amd64.whl
Size 5.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
5c5d66b47bd17983628636e626109e8caf3972a78141be2b82da2d32394b29ed
BLAKE2b-256 checksum
How to use checksums
746251661b21a3e7664431ce3c52ba382bd5ff5c9e8200ff9f7df383505f54ec
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.14-py3-none-manylinux_2_34_x86_64.whl

Download URL dcert-4.0.14-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
918202e1aca464aa401486a222fd36268d8175135730f5808f82388e3e66ef18
BLAKE2b-256 checksum
How to use checksums
e671edb3607e14d9a9f8be84c3447ac193214bc1a0f032f232993b71859b801d
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.14-py3-none-macosx_11_0_arm64.whl

Download URL dcert-4.0.14-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
cb424d17d163998ab9e831215de91827f6f15a7dc3bf6c9c98a6a4d5d5a553be
BLAKE2b-256 checksum
How to use checksums
6e79753200918966cb0d3c4082b32597888bc0fe40ba951e233bcd98299448c8
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.14-py3-none-macosx_10_15_x86_64.whl

Download URL dcert-4.0.14-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
3bb6d09ea48bfb3de9f2cacec7d33c234d791876eb84161793dd8db6fa79b436
BLAKE2b-256 checksum
How to use checksums
8c07cfefd8435905634d113937b1a62bacd27aa28cc8c73aef37378928a48874
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.14

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.14-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.14 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