How to use it
- Paste the certificate, including the BEGIN and END lines. Several certificates in a row are decoded one by one.
- Read the names, dates and key details on the right.
- Compare the fingerprint with the one shown by your browser or server to be sure you have the right file.
What is decoded
A certificate is a DER-encoded ASN.1 structure wrapped in Base64. The tool reads the version, serial number, signature algorithm, issuer and subject names, the validity period, the public key (RSA with its modulus size, EC with its curve, or Ed25519) and these extensions: subject alternative names, key usage, extended key usage, basic constraints and the key identifiers. Other extensions are skipped.
Example
The sample is a self-signed test certificate for www.example.com. It shows the subject C=US, O=Example Ltd, CN=www.example.com, the same issuer (self-signed), the names DNS:www.example.com, DNS:example.com, IP:192.0.2.10, an EC P-256 key of 256 bits, the signature algorithm ecdsa-with-SHA256, key usage digitalSignature, extended key usage serverAuth and CA “No”.
Tips
- If a browser warns about a name mismatch, check the SAN list first.
- An intermediate certificate has CA “Yes” and usually keyCertSign in key usage; a site certificate has CA “No”.
- Renew before the “Valid until” date: many certificates are now issued for 90 days or less.