X.509 certificate decoder
Decode a PEM certificate or chain: subject, issuer, SANs, validity and days left, key size, signature algorithm and fingerprints, with checks for weak settings.
One certificate or a whole chain. It is read in your browser and is not sent anywhere.
Everything you type here stays in your browser. Nothing is sent to HardenKit or to anyone else.
How to use the X.509 certificate decoder
- Paste a certificate in PEM form, or a whole chain.
- Read the subject, the alternative names and the validity dates of each certificate.
- Compare the SHA-256 fingerprint with the one you expect.
- Read the findings under each certificate and fix the ones that apply.
About this tool
An X.509 certificate binds a public key to names. A certificate authority signs a statement that says: this key belongs to these host names, from this date to that one. The file you paste is that statement in DER, a compact binary encoding, wrapped in Base64 between BEGIN CERTIFICATE lines. This tool reads the DER in your browser and shows the fields, the way openssl x509 -text does.
The fields that matter most in practice are few. The subject alternative names are the host names the certificate is valid for; browsers ignore the older common name. The validity dates say when it starts and stops working. The key algorithm and size, and the signature algorithm, say how strong it is. The fingerprint is a hash of the whole certificate, used to tell two certificates apart or to pin one.
The checks flag what breaks or weakens TLS: an expired or not yet valid certificate, one within 30 days of expiry, SHA-1 or MD5 signatures, RSA keys under 2048 bits, a leaf with no subject alternative name, a self-signed certificate, and a lifetime longer than public CAs may issue, which is 398 days, or 200 days for certificates issued from 15 March 2026. They are a set of rules and do not replace a review: the tool does not verify the signature, build the chain or check revocation.
Sources
Questions
Open the .pem or .crt file in a text editor, copy the block that starts with -----BEGIN CERTIFICATE-----, and paste it here. On a command line, openssl x509 -in cert.pem -noout -text prints the same fields.
The extension that lists every name a certificate is valid for: DNS names, IP addresses, email addresses. Browsers and current TLS libraries check the host name against this list only, so a certificate without it matches nothing, whatever its common name says.
Publicly trusted certificates may be valid for at most 398 days, and the limit falls in steps: 200 days for certificates issued from 15 March 2026, 100 days from 15 March 2027 and 47 days from 15 March 2029. Private CAs can set their own limits.
A hash of the whole DER-encoded certificate, usually SHA-256, written as hex. Two certificates with the same fingerprint are the same certificate. It is not part of the certificate; any tool can compute it.
It encrypts the connection like any other, but nothing vouches for who is at the other end, so clients warn unless the certificate was installed as trusted by hand. That is fine for local development and wrong for anything other people connect to.