opyeb x509lab

x509lab · Guides

X.509, PEM and chain guides

Five articles: PEM against DER, certificate structure, SAN and host name verification, KeyUsage, EKU and CA constraints, and chain building with fingerprints

PEM versus DER, the shape of a certificate, SAN and host name checks, KeyUsage, EKU and CA constraints, then chain building, expiry and fingerprints — the points teams get stuck on most often.

Formats and structure

FormatsPEM and DER: what actually differsDER binary encoding, PEM Base64 wrapping, labels and extensions

Names and purposes

StructureReading one X.509 certificateTBSCertificate field order, names, times and extensionsNamesSAN and host name verificationDNS, IP, URI and email SANs, wildcard and CN fallback rulesPurposesKeyUsage, EKU and CA constraintsKeyUsage bits, EKU OIDs and the meaning of CA and pathLen

Chain and trust

ChainChain links, expiry and fingerprintsOrder, AKI/SKI, pathLen, expiry arithmetic, three fingerprints

Once you have read the guides, diagnose a certificate in the tool.

Open the tool