Concepts / Encryption and certificates

Encryption and certificates

Certificate signing request

Also called CSR, certificate issuance, ACME, certificate expiry, revocation

What a server sends a CA to get a certificate: its public key and names, signed with its private key.

The private key never leaves the server
The private key never leaves the server

The request carries only the public key and the names, signed to prove the server holds the private key. The CA checks the names and signs a certificate for that same key.

A certificate signing request (CSR) is what a server sends a CA to get a certificate: its public key and names, signed with its private key, which never leaves the server. The CA checks the names (ACME, used by Let's Encrypt, does it by a challenge on the domain) and signs a certificate valid for a limited time. If the key leaks earlier, the certificate is revoked (CRL, OCSP).

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