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

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

Total release size: 14.3 MB

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

Download URL dcert-4.0.11-py3-none-win_amd64.whl
Size 4.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f5477a653468a62839b89d77f1af4c20b901e7e93bc27781ac03018066255a09
BLAKE2b-256 checksum
How to use checksums
6ba42836eb7f72bf28b20f637d0d148c5008189164d6b6aae6874acf83f6d9d9
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.11-py3-none-manylinux_2_34_x86_64.whl

Download URL dcert-4.0.11-py3-none-manylinux_2_34_x86_64.whl
Size 3.3 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
030dbec0651e0303a3a9acd0bb1a9269b2389b73fa56840acc26020418e442d0
BLAKE2b-256 checksum
How to use checksums
dcdc21cc6222935673a4f411fa765fb37430b1068cc7811066af1a876e4c6517
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.11-py3-none-macosx_11_0_arm64.whl

Download URL dcert-4.0.11-py3-none-macosx_11_0_arm64.whl
Size 3.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a2fe314a88d49d747fdb5a87cf4393d2e812f569f98510ba82077260270b84bf
BLAKE2b-256 checksum
How to use checksums
8ab1f37fe3bd470ff28ead53dded638842b38504ba2c3a0204c24b228e121761
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.11-py3-none-macosx_10_15_x86_64.whl

Download URL dcert-4.0.11-py3-none-macosx_10_15_x86_64.whl
Size 3.1 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
2222be68dc599d1fa74ff72d079c4cf3a88705816d6dc7a20ef198dc8c90edfb
BLAKE2b-256 checksum
How to use checksums
238b55eabe0e06761ac54a831bbd1dbd12f51deee2bb72b0ce5dd43ce76f6ce2
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.11

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