Skip to content
UniKit

SSL certificate parser

Parses the PEM or Base64 DER certificate you paste (no TLS connection is opened): a hand-written ASN.1 DER parser reports Subject / Issuer per RDN, validity and days remaining, serial number, signature algorithm, public key algorithm and size, SubjectAltName, KeyUsage / ExtendedKeyUsage and CA status, with SHA-1 / SHA-256 fingerprints computed by pure TypeScript digests.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Input

Result

Pure local computation; nothing is uploaded.

Enter input to see the result

Days left: 0 · DER bytes: 0 · SAN entries: 0

What this tool does

  • Check whether the certificate on a server is the same file you have locally (by SHA-256 fingerprint).
  • Inspect the SAN list and KeyUsage to confirm domain coverage and intended usage.
  • See how many days are left before the certificate expires.

Example

Input

-----BEGIN CERTIFICATE-----
MIICOzCCAeCgAwIBAgIUAlvVhYfhSIE8R+dZYs0qOfOw0w8wCgYIKoZIzj0EAwIw
RDELMAkGA1UEBhMCQ04xDzANBgNVBAoMBlVuaUtpdDEOMAwGA1UECwwFVG9vbHMx
FDASBgNVBAMMC3VuaWtpdC50ZXN0MB4XDTI2MTAxMjA5MTQ0M1oXDTM2MTAwOTA5
MTQ0M1owRDELMAkGA1UEBhMCQ04xDzANBgNVBAoMBlVuaUtpdDEOMAwGA1UECwwF
VG9vbHMxFDASBgNVBAMMC3VuaWtpdC50ZXN0MFkwEwYHKoZIzj0CAQYIKoZIzj0D
AQcDQgAEpsE7aOuEp19253mWV7cIkT2p03uZOj65MjksfhUgB+K1MapCbVFEnj2x
dxieWCj6fN5YeMNl36RfiitFo5IoRKOBrzCBrDAdBgNVHQ4EFgQUcrTQe5O/IXMP
sDEU2zBTWRNKfKYwHwYDVR0jBBgwFoAUcrTQe5O/IXMPsDEU2zBTWRNKfKYwLQYD
VR0RBCYwJIILdW5pa2l0LnRlc3SCD3d3dy51bmlraXQudGVzdIcEfwAAATAOBgNV
HQ8BAf8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMAwGA1Ud
EwEB/wQCMAAwCgYIKoZIzj0EAwIDSQAwRgIhAL4+nDj94f7bU7ubWI/2LrzGTPkH
hNkylwkyj4V7Xu3rAiEAvQ+NGXB1H5ljnyIABWfxOWUgs6+2DU3T0HrGrz+xbUc=
-----END CERTIFICATE-----

Output

Version: v3
Serial number: 025BD58587E148813C47E75962CD2A39F3B0D30F
Signature algorithm: ECDSA-SHA256 (1.2.840.10045.4.3.2)
Public key: EC prime256v1 (P-256) 256 bits

Subject:
  C = CN
  O = UniKit
  OU = Tools
  CN = unikit.test

Issuer:
  C = CN
  O = UniKit
  OU = Tools
  CN = unikit.test

Validity: 2026-10-12T09:14:43Z ~ 2036-10-09T09:14:43Z
        (openssl format: Oct 12 09:14:43 2026 GMT ~ Oct 09 09:14:43 2036 GMT)
Remaining days: 24388 (expired: no; not yet valid: yes)

SHA-1   fingerprint: 0A:A5:13:A5:F4:7B:C7:88:17:7A:0D:58:32:CA:A7:CA:C4:71:A4:50
SHA-256 fingerprint: FE:B3:88:2B:E3:55:04:A2:DD:18:41:03:3B:9A:95:26:88:D4:32:BA:9F:CD:E0:8E:26:F6:D6:BA:F3:6D:E9:F2
TBS SHA-256: E1:C1:5A:85:F1:72:90:23:B3:58:FD:E7:01:7D:31:B9:F4:1E:98:C4:5A:B2:E8:33:66:2B:1F:14:D2:02:0A:14
DER length: 575 bytes (TBS 484 bytes)

Is CA: no
KeyUsage: digitalSignature, keyEncipherment
ExtendedKeyUsage: serverAuth (1.3.6.1.5.5.7.3.1), clientAuth (1.3.6.1.5.5.7.3.2)
SubjectAltName:
  DNS:unikit.test
  DNS:www.unikit.test
  IP:127.0.0.1

Fingerprints cover the whole DER encoding (RFC 5280 §4.2.1.2) and are printed as uppercase hex with colons, matching openssl x509 -fingerprint -sha256. Only the pasted content is parsed; no server is contacted.

Frequently asked questions

Does it connect to a server?

No. It only parses the PEM or Base64 DER you paste; use something like openssl s_client if you need to fetch a live certificate first.

Which certificates are supported?

X.509 v1/v2/v3 certificates with RSA, ECDSA (named curves such as P-256 / P-384 / P-521) or Ed25519 keys. A malformed structure raises invalid-der instead of returning something that merely looks like a certificate.

Why does the fingerprint differ from a website?

Some sites show the SPKI fingerprint or a public-key hash instead; the SHA-1 / SHA-256 values here always cover the whole DER encoding, following RFC 5280.

How is the time evaluated?

Validity dates come from the certificate itself, while the remaining days depend on the seconds you enter in the current-time control; the module never reads the system clock, so results are reproducible.

Keywords:ssl-infox509certificatefingerprint

Related tools