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.
| Flag | Short | Description |
|---|---|---|
--key | -k | Path to a separate PEM private key file |
- 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.
| Flag | Short | Description |
|---|---|---|
--password | -p | Password for the PFX file (leave empty for passwordless) |
--legacy | — | Use legacy decode mode for non-standard / older PFX files |
- 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

