01The envelope and the claims
X.509 is the standard format for public key certificates. Think of it as an envelope with three parts: the certificate's own data, the algorithm used to sign it, and the CA's signature over that data. Once signed, nothing inside can change without breaking the signature.
| Field | What it holds | Why you care |
|---|---|---|
| Version | Usually v3 | v3 is what adds extensions |
| Serial number | Unique per issuing CA | Used in revocation lists and audits |
| Issuer | Name of the signing CA | Tells you who to ask next in the chain |
| Validity | Not-before and not-after dates | Expired certificates fail validation outright |
| Subject | Who the certificate is about | For TLS the hostname usually lives in SAN instead |
| Subject Public Key Info | The public key and its algorithm | The actual credential being vouched for |
| Extensions | Constrained additional facts | Where most validation failures originate |
| Signature | CA's signature over the above | Makes the document tamper evident |