Walk through a TLS 1.3 handshake.
AdvancedConceptHTTP, TLS & Certificates
Answer
Client sends ClientHello with supported ciphers, a key share and SNI. Server replies with ServerHello (chosen cipher and its key share), then, already encrypted, its certificate chain, CertificateVerify and Finished. Client verifies the chain and sends Finished. Data flows after 1 RTT.
openssl s_client -connect example.com:443 -servername example.com -tls1_3
TLS 1.2 needs 2 RTTs and permits weaker ciphers; TLS 1.3 removes RSA key exchange and uses only forward-secret ciphers.
More on HTTP, TLS & Certificates
What is the structure of an HTTP request and response?BeginnerWhich HTTP status code classes and codes should every DevOps engineer know?BeginnerWhat are the common HTTP methods and which are idempotent?BeginnerWhat changed between HTTP/1.1, HTTP/2 and HTTP/3?IntermediateHow does QUIC differ from TCP+TLS?AdvancedWhat are HTTP keep-alive and connection reuse, and why do they matter?Advanced