Interview Prep/Networking/HTTP, TLS & Certificates

What is the difference between symmetric and asymmetric encryption in TLS?

IntermediateConceptHTTP, TLS & Certificates
Answer

Asymmetric crypto (RSA, ECDSA, ECDHE) authenticates the server and agrees on a shared secret. Then the session switches to symmetric encryption (AES-GCM or ChaCha20-Poly1305) because it is orders of magnitude faster.

So the certificate's key is used for signatures and key agreement, while the bulk data is encrypted with ephemeral session keys.

All Networking questions Roadmap: Networking for DevOps

More on HTTP, TLS & Certificates