Concept and mechanism
A certificate associates a public key with identities and restrictions, signed by an issuer. The private key remains separate and must stay protected; sharing the certificate does not require handing over that secret. Verification needs to build a path to an anchor the client already trusts under applicable policy. Intermediate certificates help build this path but do not gain trust merely because the server sends them. PEM format, filename, and the presence of a signature do not themselves establish that the client should trust the issuer. Keep presented material and approved trust separate.
Guided application
In a fictional case, a browser works because it already has intermediate material while a fresh client fails with the same leaf. If the root is approved and the intermediate is missing, correct the presented chain and validate without relying on cache. Do not turn the leaf into an improvised root to hide failure. After key rotation, compare the public components of the certificate and private key to confirm the pair without disclosing the secret. Also check purpose: a certificate limited to clientAuth does not automatically become suitable for serverAuth because chain and name are correct. Identity, trust, validity, and permitted use are complementary dimensions.
An approved root and valid leaf are insufficient if the client cannot build the intermediate path.
Common pitfalls
Private key as shareable diagnostic material; received chain as trust; PEM as a key match; ignored purpose.
Related topics: Identity, name, and time · Negotiation, mTLS, and the application · Renewal and served certificates
Validate path, pair, and use without exposing the private key.
Reference: X.509 certificates and path validation · DR TLS/certificates 2026-09; selected TLS 1.2/1.3, RFC 9525 identity and OpenSSL 3.5 diagnostics