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.
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