How to Inspect a Certificate Chain on Windows

Review leaf, intermediate and root certificates, distinguish a provided chain from system trust, and recognize expiry or signature problems.

An X.509 certificate rarely stands alone. A typical certificate chain begins with the leaf certificate you are interested in, may include one or more intermediate issuers, and ends at a root certificate.

Understanding that chain is useful when a certificate looks valid by date but still produces a warning, when an application says an issuer is missing, or when you need to confirm that the certificates you were given fit together cryptographically.

Certificate Doctor inspects certificate files locally on Windows and can build chains from the files you provide. It deliberately keeps that result separate from Windows system trust, hostname validation and revocation checks.

Know the three common roles

Leaf certificate

The leaf is the certificate used for the actual identity or purpose you care about: a website, user, service, signing identity or other endpoint.

Its Subject identifies the entity described by the certificate, while the Issuer points toward the certificate that signed it.

Intermediate certificate

An intermediate certificate sits between the leaf and a root. It is issued by another certificate and can issue certificates below it according to its constraints.

A missing intermediate is a common reason a chain cannot be completed even when the leaf certificate itself is well formed.

Root certificate

A root is normally self-signed. It anchors a chain, but a self-signed root is not automatically trusted merely because its signature is internally consistent.

Trust comes from the policy or trust store that decides which roots are accepted.

Chain building and system trust are different questions

Suppose you load a leaf certificate, its intermediate, and its root. If the signatures connect correctly, Certificate Doctor can show a complete chain using those provided files.

That answers: do these certificates form a cryptographically consistent chain?

It does not answer: does Windows, a browser, a company, or another system trust this root?

Certificate Doctor does not perform Windows trust-store evaluation. That separation prevents a provided root from being described as trusted simply because it was present in the folder.

Start with the original certificate files

Keep the originals unchanged. Certificate files are often distributed as .cer, .crt, .pem, .der, .p7b, .pfx or .p12.

Before converting anything, inspect the files in the format you received.

A practical workflow is:

  1. Open the leaf certificate.
  2. Review Subject and Issuer.
  3. Review validity dates.
  4. Review key algorithm, key size and signature algorithm.
  5. Add any intermediate or root files you were given.
  6. Build or review the chain from those supplied files.
  7. Read missing-issuer or signature-mismatch findings separately from expiry warnings.

If the file is password-protected, use the correct password rather than converting it through an unknown third-party service.

What a complete provided chain means

A complete chain means the tool could follow issuer relationships using the certificates available in the workspace and verify the relevant certificate signatures.

That is useful evidence, but it does not guarantee:

  • that the root is trusted by the operating system;
  • that the certificate has not been revoked;
  • that a server hostname matches the certificate;
  • that the certificate is acceptable for a particular business purpose;
  • that every certificate was valid at a historical time.

Certificate Doctor v1.0.1 does not perform revocation, system trust-store or hostname checks.

What “missing intermediate” means

If the leaf says it was issued by an intermediate that is not available, the chain cannot be completed from the current files.

Do not solve that by downloading a similarly named certificate from a random website. Obtain the missing issuer from the certificate authority, the system that supplied the certificate, or another trusted source used by your organization.

Then inspect the chain again.

A missing intermediate does not by itself mean the leaf certificate is fake. It means the evidence set is incomplete.

What an issuer signature mismatch means

The issuer name can look correct while the cryptographic signature does not verify with the candidate issuer certificate.

Names are not enough. Certificate Doctor v1.0.1 requires successful cryptographic signature verification before accepting an issuer relationship or a self-signed root.

If a certificate appears to have the right issuer text but signature verification fails, do not force the chain together based only on matching names.

Possible causes include the wrong issuer certificate, a damaged certificate, an unsupported signature case or a genuinely invalid relationship.

Expiry is separate from chain structure

A chain can be structurally complete while one of its certificates is expired or not yet valid.

That is why expiry warnings should be read separately from issuer verification.

Check the Not Before and Not After dates for each relevant certificate. Certificate Doctor can flag expired, not-yet-valid and soon-to-expire certificates using its configured threshold.

A certificate being expired today does not automatically tell you whether a past signature or transaction was acceptable at another time. Historical validation can require trusted timestamp and revocation evidence that this utility does not provide.

Weak algorithms deserve attention

Certificate inspection should also include cryptographic strength.

Review:

  • RSA key size;
  • public-key algorithm;
  • certificate signature algorithm;
  • SHA-1 or other legacy signature warnings.

Certificate Doctor reports weak-key and weak-signature findings where supported. Treat them as security warnings, not as proof that every use of the certificate has already been compromised.

For a production deployment, follow the cryptographic requirements of the system or organization using the certificate.

Private-key matching is another separate check

A certificate and a private key may be stored separately. If you need to confirm that a key belongs to a certificate, use a key-match check rather than relying on filenames.

Certificate Doctor can compare supported private keys with certificates locally.

Never include a private key in a public bug report, screenshot, exported report or shared test package. Private keys should remain secret.

The app’s HTML and JSON reports do not include private-key material or passwords.

Example: leaf plus the wrong intermediate

Imagine you have server.crt and intermediate.crt. The Issuer text on the leaf appears related to the intermediate, but the cryptographic issuer verification fails.

Do not rename the files or convert them repeatedly hoping the warning goes away. Obtain the correct intermediate from the authoritative source and try again.

A correct chain relationship is established by the signature, not the filename.

Example: complete chain but root not evaluated for trust

You load leaf, intermediate and root files and Certificate Doctor reports a complete chain.

That means the supplied certificates connect successfully. It does not mean the root is installed or trusted on another machine.

If the goal is to troubleshoot a Windows application, inspect the Windows trust store separately or use the application’s own trust diagnostics.

Export reports without leaking secrets

A certificate report can be useful for support because certificates are normally public material, but still review the report before sharing it. Subjects and SANs can reveal internal hostnames, people, email addresses or infrastructure details.

Do not attach private keys or PFX passwords.

A concise troubleshooting checklist

When a chain does not look right, record:

  • leaf Subject and Issuer;
  • certificate validity dates;
  • the exact intermediate and root files supplied;
  • whether cryptographic issuer verification succeeded;
  • which certificate is missing, if any;
  • key and signature algorithms;
  • whether the warning concerns expiry, chain completeness or unsupported verification.

Then decide which additional check you actually need: system trust, revocation, hostname matching or organizational policy.

The key principle is: a chain built from supplied files proves a cryptographic relationship between those files; it does not automatically prove system trust or current acceptability.

Related ALMARFELD software: Certificate Doctor

These guides explain practical workflows and limits; they are not a substitute for the policy, legal or security requirements of the organization receiving your files.

← All practical Windows guides · About the project · Contact ALMARFELD