Certificate-chain validation is the process a client uses to verify that a presented certificate leads through valid intermediate certificates to a trusted root certificate authority. It also checks certificate signatures, validity periods, and whether the certificate is suitable for the requested connection, such as HTTPS.
This check helps prevent attackers from impersonating a server with an untrusted or forged certificate. In real connections, tools such as curl validate the server’s certificate chain before sending or accepting data over TLS. A valid chain does not necessarily mean the certificate remains trustworthy: it may have been revoked after issuance. Revocation checking is a separate check that can identify certificates no longer approved by their issuer.


