Skip to main content

parse

Parse and inspect local certificate and key files. Decodes PEM and PFX/PKCS#12 files and pretty-prints their contents.

Usage


Subcommands

parse pem

Decode and display a PEM-encoded certificate or certificate chain.
Displays:
  • Subject and Issuer DNs
  • Serial number
  • Validity period (Not Before / Not After)
  • Subject Alternative Names (DNS, IP, UPN, Email)
  • Extended Key Usage (EKU) OIDs
  • Key usage flags
  • CA flag and path length constraint
  • Whether a private key is present

parse pfx

Decode and display a PKCS#12 / PFX file.
Displays:
  • All certificates in the PFX (leaf + chain)
  • Private key presence and type
  • Subject and Issuer for each certificate
  • SANs, EKUs, and validity for each certificate
  • Friendly names and bag attributes

Use Cases