TLS basics

A certificate binds a public key to one or more names. Clients check the name, the dates and the chain.

TLS 1.3 always uses ephemeral key exchange, so recorded traffic cannot be decrypted later with the server key alone.

Test a server with openssl s_client -connect host:443 -servername host.