🔐

SSL Certificate Parser

Parse PEM chains for subjects, SANs, validity, keys, order, expiry, SPKI pin and renewal diff.
X.509 📂 Developer 👤 ToolCMS 🏷️ v1.5.3 ⚙️ clipboard
X.509 / TLS 证书检查

把证书链拆开看清楚

粘贴 PEM 证书链或上传 .pem / .crt / .cer,解析主体、SAN、有效期、公钥、签名算法与扩展,并检查链顺序、到期天数、主机名匹配和弱算法;可选本地私钥配对与 PEM 链导出,私钥不会上传。全程在浏览器内完成。

证书输入

PEM 优先,最多 20 张
未选择文件
可选,仅本地
未载入私钥

私钥只在浏览器内存中读取,不会上传;用于确认证书与私钥是否配对。加密私钥需先解密。

等待输入。证书不会上传,也不会发起网络请求。

证书链

0 张
还没有解析结果。载入示例链可以先看完整流程。

当前证书详情

点击上方链条目切换
解析后在这里查看主体、扩展、指纹和密钥参数。

链概览

先看结论,再看字段
证书数量—
末端剩余—
公钥—
签名算法—

部署就绪评分

按已填项归一,不替代信任库
解析后按链路、有效期、主机名、密钥、签名与用途给出 A/B/C/D。

链健康矩阵

逐张看角色、到期与算法
解析后生成逐张证书的矩阵,可导出 CSV 附到变更单。

自检与风险

不会替代信任库校验
解析后生成 7 项检查;载入私钥时增加第 8 项。

续期对比

旧证书 vs 新证书
粘贴新证书后,对比 SAN、有效期、公钥、SPKI Pin 与签名算法。

导出与命令

便于工单与交接
解析后给出可执行的 openssl 检查命令。

How to Use

📖 What it does

A certificate error is often a chain problem rather than a hostname problem. The leaf may be valid, yet the intermediate is missing, the order is reversed, or the server sends a root the client does not trust. Reading the file first narrows the cause before anyone touches DNS or the web server.

This page parses PEM blocks in the browser. It does not complete a TLS handshake, contact a CA or query a revocation service. It turns DER into readable fields and compares issuer and subject links so a human can see whether the chain is structurally coherent.

The result is a review artefact, not a trust verdict. A chain can look complete and still fail on signature, expiry, name constraints or a missing trust anchor. Treat every green check as a prompt to run the real handshake on the target host.

A useful habit is to compare two views: the file the server actually sends and the file in the repository. If they differ, someone deployed the wrong chain or a load balancer serves a different certificate. The parser can only read what you paste, so paste exactly what the client receives, not what the ticket claims.

✨ Features

  • Read Subject, Issuer, Serial, validity, SAN, Key Usage, EKU, Basic Constraints, SKI, AKI, AIA, CRL, policies and SCT for every certificate.
  • Calculate remaining days, flag expired and not-yet-valid certificates, and identify a chain whose last certificate is not self-signed.
  • Match a target hostname against DNS and IP SAN entries, including one-label wildcard rules and internationalised names, and report a missing match instead of guessing.
  • Show RSA modulus size, EC curve and Ed25519 key type, then flag RSA below 2048, EC below 256 and SHA-1 or MD5 signatures.
  • Verify each child signature with the next certificate public key through WebCrypto, while keeping public trust and revocation outside the page.
  • Optionally load a PEM private key and compare it with the leaf public key in the browser; support PKCS#8, RSA and SEC1 EC without uploading the key.
  • Export the parsed chain as PEM so the exact bytes can be rechecked with openssl verify or installed on a server.
  • Reorder a mixed chain by issuer-to-subject links, copy a summary, export JSON or Markdown, and print openssl commands for server-side verification.

🚀 How to use it

  1. Paste one or more PEM blocks, or upload .pem, .crt or .cer files; the page accepts up to 20 certificates and 512 KB.
  2. Enter the target hostname if hostname coverage matters; leave it blank to skip the match rather than produce a false pass.
  3. Optionally select a private key file; it is read in memory only and adds an eighth pairing check for the leaf certificate.
  4. Click Parse Certificate, review the overview, then open each chain row to inspect subject, extensions, key and fingerprints.
  5. If the order is wrong, click Reorder and confirm the leaf is first and each issuer matches the next subject.
  6. Export JSON or Markdown for the ticket, then run openssl verify and s_client on the server before changing production.

⚠️ Before you rely on it

  • This verifies signatures inside the supplied chain but does not check OCSP, CRL or decide whether a public client trusts the anchor. A chain can verify internally and still fail public trust.
  • A wildcard covers exactly one label. It does not cover the bare domain or a two-label subdomain, and a CN-only certificate is not enough for modern clients.
  • Serving the root is a deployment choice. Some clients want it, some already have it; the page only reports what is in the input.
  • A selected private key is read in memory only, never uploaded, logged or written to storage. Use an unencrypted key file for the pairing check and close the tab when finished.
  • If the browser still fails after the seven base checks, compare system time, trust store, revocation and the actual SNI response; the page cannot see those.

Related

⏫︎