Concepts / Encryption and certificates

Encryption and certificates

Certificate chain

Also called chain of trust, intermediate certificate, issuing CA, root CA, PKI, public key infrastructure

A server's certificate, signed by an issuing CA, whose certificate a root signed: the path a client follows to someone it trusts.

The server sends the chain, never the root
The server sends the chain, never the root

The client must already hold the root. If the server leaves out the intermediate, the client cannot link the certificate to that root and refuses it.

A certificate chain is the path from a server's certificate to a root the client trusts: an intermediate (issuing) CA signed the server's certificate, and a root signed the intermediate's. The server sends its certificate and every intermediate, never the root, which must be in the client's [[trust-store]]. Leave out the intermediate and curl fails with unable to get local issuer certificate. openssl s_client -showcerts shows what a server sends.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab