Inspect Your Certificate Chain Above

Paste your certificate chain into the inspector above and see whether it satisfies RFC 5280's path-validation rules: chain ordering, name constraints, and revocation status.

ZERO UPLOAD · ALL LOCAL
  1. Paste PEM text into the textarea or drop a certificate file (.crt, .pem, .cer, .der) onto the drop zone.
  2. Each certificate in the chain renders as a separate card, ordered leaf-first. The leaf is expanded; intermediates and root are collapsed.
  3. Coloured badges flag expired certificates, expiring-soon certificates, weak RSA keys, SHA-1 signatures, and wildcard SANs.
  4. Use the Copy button on any field row to copy its value to the clipboard.
  5. Enter a domain name (e.g. example.com) in the "Fetch from domain" field and click Fetch to inspect its live TLS certificate.

What this page covers

  • Path building match each certificate's Authority Key Identifier to the next issuer's Subject Key Identifier
  • Name constraints and pathLenConstraint a CA can be scoped to specific domains and to a limited chain depth
  • Revocation checked via CRLs or OCSP; OCSP stapling avoids the soft-fail reliability gap

Drop .crt / .pem / .cer / .der here

or click to browse

── or paste PEM below ──

── or fetch from domain ──

Parsing certificate…

Inspect Your Certificate Chain: How TLS Clients Verify Trust

Paste your certificate chain into the inspector above and it renders the same path TLS clients build when they verify that a server's certificate can be trusted through an unbroken sequence of cryptographic signatures from the leaf up to a trusted root. The validation algorithm is defined in RFC 5280 Section 6 and requires every certificate in the chain to satisfy six conditions simultaneously: valid signature, valid validity window, name constraints consistent with the chain, Basic Constraints allowing CA usage where required, Key Usage permitting certificate signing for each CA in the chain, and no revocation by the issuing CA1. A failure at any link in the chain causes the entire chain to fail, even when the leaf certificate is perfectly valid, so checking your own chain above is the fastest way to catch a broken link before it reaches production.

How path-building works in practice

When a browser or TLS client receives a certificate chain from a server, it attempts to build a trusted path from the leaf certificate to a root in its trust store. Starting with the leaf, the client looks for a certificate in the chain whose subject distinguished name and Subject Key Identifier match the leaf's issuer name and Authority Key Identifier1. It then repeats this process for each successive certificate until it reaches a certificate whose issuer is in the trust store.

How path-building selects the next certificate in the chain

The matching rules rely on two fields: the Authority Key Identifier of the certificate being validated must equal the Subject Key Identifier of the issuing certificate, and the issuer distinguished name must match. When multiple candidates exist, the client picks the one whose fields satisfy both constraints. A chain that provides certificates out of order forces the client to search the entire bundle for a match, and some clients give up after the first candidate rather than retry. The CapyToolkit Certificate Inspector renders the chain in leaf-first order with connector lines showing issuer relationships, making ordering errors and missing certificates immediately visible.

Name constraints and path length limits

RFC 5280 allows CA certificates to carry Name Constraints extensions that limit which subjects the CA may sign certificates for. A Name Constraints extension with a permittedSubtrees component restricts the CA to issuing certificates for names within specified domains, IP ranges, or email patterns. When a CA certificate carries name constraints, every certificate it signs must comply with those constraints.

How pathLenConstraint limits chain depth

The pathLenConstraint field in the Basic Constraints extension limits how many additional CA certificates may follow a given CA in a valid chain. A pathLenConstraint of 0 means the CA may only sign leaf certificates; a value of 1 means it may sign one level of sub-CAs plus leaf certificates. Chains that violate either constraint fail validation even when every signature is cryptographically correct2. The CapyToolkit Certificate Inspector surfaces both the name constraints and the pathLenConstraint values on each CA certificate card so you can verify the chain stays within the limits the root CA set.

A practical implication is that a chain can be cryptographically perfect yet still fail validation when a constraint is breached. The order of certificates and the fields on each CA card matter as much as the signatures, so building the chain by hand is error-prone. The CapyToolkit Certificate Inspector renders each link with its constraints visible, so you can see at a glance where a chain exceeds the depth or scope its root CA allowed.

Revocation checking and OCSP stapling

Certificate revocation adds a fourth dimension to chain validation beyond signatures, validity windows, and constraints. A certificate can be revoked before its notAfter date when its private key is compromised or when CA policy requires the CA to invalidate the binding. CAs publish revocation information through Certificate Revocation Lists (CRLs) defined in RFC 5280 and through the Online Certificate Status Protocol (OCSP) defined in RFC 6960.

Why soft-fail OCSP weakens revocation enforcement

Browsers check revocation status for the leaf certificate, and some check intermediates as well. Yet soft-fail OCSP behavior, where a browser accepts a certificate when the OCSP responder is unreachable, means revocation checks are not as reliable as chain signature verification3. An attacker who intercepts traffic can also block the OCSP request, causing the browser to accept a revoked certificate without raising an error.

How OCSP stapling closes that gap

OCSP stapling, in which the server pre-fetches and attaches the OCSP response to the TLS handshake, improves revocation reliability without depending on the client being able to reach the OCSP responder at handshake time. The stapled response is signed by the CA, so the client can trust it even when the network path to the OCSP responder itself is blocked.

When to use this

Use this guide when debugging TLS handshake errors related to chain validation, when configuring a web server to send the correct certificate chain, or when auditing an internal PKI to verify that intermediate CA constraints are correctly configured. It is equally relevant when you add a new server or CDN edge node to an existing deployment and want to confirm the certificate chain it sends matches what other nodes serve, and a quick chain inspection makes it easy to spot a missing or misordered certificate before the node goes live. Furthermore, use it when you set up a new CA hierarchy for internal services, to verify the pathLenConstraint and name constraint fields are set correctly before signing leaf certificates. Building on this, the chain validation concepts apply any time you troubleshoot why some clients succeed and others fail on the same endpoint, since missing intermediates explain the split behavior between clients that have the intermediate cached and new clients that must build the trust path from scratch using only what the server sends.

Examples

Server sends only the leaf certificate

The Certificate Inspector shows one card labeled LEAF CERTIFICATE with no intermediate or root. Clients without a cached intermediate fail to validate the chain. Fix by adding the intermediate certificate to the server's certificate bundle, ordered leaf-first.

Intermediate CA has expired

The intermediate certificate card shows an EXPIRED badge. The chain is invalid even though the leaf certificate is within its own validity window. Contact your CA to obtain an updated intermediate and redeploy the full chain.

Name constraints violation on an internal CA

An internal CA with name constraints restricting it to *.internal.example.com cannot validly issue a certificate for api.external.com. Browsers reject such chains during path validation even when all signatures are cryptographically correct.

Sources
  1. 1.

    Cooper, D., Santesson, S., Farrell, S., Boeyen, S., Housley, R., and Polk, W., "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile," RFC 5280, IETF, September 2008. https://www.rfc-editor.org/info/rfc5280

  2. 2.

    OpenSSL, "openssl-verification-options — X.509 certificate verification options," docs.openssl.org, accessed June 2026. https://docs.openssl.org/master/man1/openssl-verification-options/

  3. 3.

    Santesson, S., Myers, M., Ankney, R., Malpani, A., Galperin, S., and Adams, C., "Online Certificate Status Protocol — OCSP," RFC 6960, IETF, June 2013. https://www.rfc-editor.org/info/rfc6960

FAQ