A Small Certificate Authority
How a certificate authority makes a chain and how a verifier checks it, on test certificates with 512-bit RSA keys: a root that signs itself, a request, the signing command, the extensions that say what a key may do, the walk from a leaf to a root, time, a link that is not allowed to sign, and what OK does not mean.
Make the Chain
A root, a request, the signing command and the extensions that say what a key may do.
- A Root Signs Itself
why the first certificate of a chain is signed by its own key
- A Request Asks for a Signature
what a CA is asked to sign
- The CA Signs the Request
how a CA turns a request into a certificate
- Extensions Say What a Key May Do
the CA flag and the path length in the bytes
Check the Chain
The walk from a leaf to a root, time, a link that may not sign, and what OK means.
- Verify Walks the Chain
how a verifier finds the next certificate up
- Time Breaks a Chain
why a chain stops working on one date
- A Missing Link Breaks a Chain
when a certificate on the path is not allowed to sign
- What OK Means
what a passing check does and does not say