cyberchef_cert_chain
Order a PEM certificate bundle into a valid chain and locate the break: missing intermediate, wrong order, expired link, or signature mismatch. Verifies every link cryptographically.
Instructions
Order a PEM bundle of X.509 certificates into a chain and report where it breaks: wrong order, a missing intermediate, an expired link, an issuer not permitted to sign, or an issuer whose name and key identifier match while its SIGNATURE does not — the shape of a substituted certificate. Every link is verified CRYPTOGRAPHICALLY: matching names and key identifiers are metadata, and anyone can mint a certificate carrying the ones they like. The three X.509 operations each parse ONE certificate and nothing relates two.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Judge validity at this instant (ISO 8601) instead of now. For asking whether a chain WILL be valid at a future date, or was at an incident's timestamp. | |
| input | Yes | One or more PEM certificate blocks, in any order. A concatenated bundle — the form `fullchain.pem` and most servers use — is the expected input. | |
| expiry_warning_days | No | Flag any certificate expiring within this many days of the reference time. |