What is an X.509 SSL/TLS Certificate?
X.509 (RFC 5280) is the standard format for public key certificates used globally across TLS/SSL, HTTPS, and email encryption. It binds an identity to a public key signed by a trusted Certificate Authority (CA).
Offline Privacy for Corporate & Internal Certificates
When troubleshooting mTLS, self-signed internal endpoints, or certificate chain validation errors, developers without OpenSSL installed often paste certificates into random online tools. This leaks internal hostnames, corporate structure, and public key fingerprints. Lucentool runs 100% in local memory with zero external requests.
Where it breaks down
The PEM wrapper is stripped, the remaining Base64 is decoded into DER bytes, and parseCertificate() walks that byte stream with a hand-written reader: node(offset, limit) reads a tag and a length, returns the value and the offset of the next element, and the parser uses it to step through the X.509 structure — serial number, signature algorithm, issuer, validity, subject, public key and the SAN extension. parseDate() converts ASN.1 UTCTime and GeneralizedTime into readable local dates, and hex() renders fingerprints and unknown extensions as byte strings.
Formats, sizes and other limits
This reads fields; it does not validate anything. No chain building, no signature verification, no revocation check against CRL or OCSP, and no judgement about whether a self-signed certificate should be trusted. PKCS#12 bundles and private keys are not accepted — export to PEM first. Extensions with OIDs the parser does not know are shown as raw hexadecimal rather than translated, and a truncated or non-PEM file produces a parse error rather than a partial result.
Privacy: no data leaves this tab
The certificate file is read locally and parsed into fields; it is never uploaded. Note that parsing proves nothing about trust — verification needs a chain and a revocation lookup, which this page does not do.
Frequently asked questions
Can it tell me whether a certificate is valid?
No. It shows the dates and fields, which you can read, but validity depends on the chain and on revocation status, both of which need network lookups.
Does it accept .pfx files?
Not directly. A PKCS#12 bundle has to be converted to PEM first, usually with openssl, before this parser can read it.
Why does parsing fail on a file that looks fine?
Most often the PEM header or footer is missing because the text was copied from a terminal, or the file is a CSR or a private key rather than a certificate.