← All projects
Project record1 mention
Originally shared on Hacker News

x509dump

A command-line tool that decodes X.509 certificates and certificate signing requests (CSRs) into structured JSON instead of OpenSSL-style text output. It decodes the underlying ASN.1/DER structure so fields and extensions are fully expanded, making the output easy to work with programmatically. Planned expansions include support for more PKI artifacts such as CRLs and keys, and more tolerant handling of less well-formed real-world inputs (missing PEM headers/footers, whitespace, or extra surrounding text). Free to download.

Last shared
01 / The problem

What it addresses

OpenSSL-style certificate text output is hard to work with programmatically, and real-world certificate data often contains less well-formed inputs (missing PEM headers/footers, whitespace, or extra surrounding text).

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. x509dump

    A command-line tool that decodes X.509 certificates and certificate signing requests (CSRs) into structured JSON instead of OpenSSL-style text output. It decodes the underlying ASN.1/DER structure so fields and extensions are fully expanded, making the output easy to work with programmatically. Planned expansions include support for more PKI artifacts such as CRLs and keys, and more tolerant handling of less well-formed real-world inputs (missing PEM headers/footers, whitespace, or extra surrounding text). Free to download.

    Problem: OpenSSL-style certificate text output is hard to work with programmatically, and real-world certificate data often contains less well-formed inputs (missing PEM headers/footers, whitespace, or extra surrounding text).

    Posted by @phil_r · Original source ↗

    Source text · @phil_r · · Source ↗

    It’s a command-line tool for decoding certificates and CSRs into structured JSON rather than OpenSSL-style text output.