Understanding SSL/TLS Certificates & Server Name Indication (SNI) in AWS Load Balancers

What Are SSL and TLS Certificates?

SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are protocols used to encrypt traffic between clients and servers, ensuring secure communication.

Key Points About SSL/TLS:

How Load Balancers Handle SSL/TLS Certificates

  1. Clients connect to a load balancer over HTTPS (encrypted).
  2. The load balancer performs SSL termination, decrypting the traffic.
  3. The load balancer forwards traffic to backend EC2 instances using HTTP (unencrypted) within the VPC.
  4. SSL certificates used by the load balancer are X.509 certificates, often managed in AWS Certificate Manager (ACM).

Managing SSL/TLS in AWS Load Balancers


What is Server Name Indication (SNI)?

SNI allows a single load balancer to handle multiple SSL/TLS certificates for different domains, solving a key problem: