Overview

ELB allows you to deploy two types of certificates on a load balancer: server certificate and CA certificate. If you need an HTTPS listener, you need to bind a server certificate to it. To enable mutual authentication, you also need to bind a CA certificate to the listener.
  • Server certificate: used for SSL handshake negotiations if an HTTPS listener is used. Both the certificate content and private key are required.
  • CA certificate: issued by a certificate authority (CA) and used to verify the certificate issuer. If HTTPS mutual authentication is required, HTTPS connections can be established only when the client provides a certificate issued by a specific CA.

Precautions

  • Classic load balancers do not support CA certificates.
  • A certificate can be deployed on a load balancer only once, but it can be used by multiple load balancers.
  • If a certificate is used for SNI, you need to specify a domain name for the certificate, and the domain name must be the same as that in the certificate.
  • For each certificate type, a listener can have only one certificate by default, but a certificate can be bound to more than one listener. If SNI is enabled for the listener, multiple server certificates can be bound.
  • Only original certificates are supported. That is to say, you cannot encrypt your certificates.
  • A certificate cannot be deployed on both a load balancer and its backend servers. If backend servers have a certificate deployed, they cannot use HTTPS to receive requests from the load balancer. You can use TCP listener to transparently transmit the HTTPS traffic to backend servers.
  • You can use self-signed certificates. However, note that self-signed certificates pose security risks. Therefore, it is recommended that you use certificates issued by third parties.
  • ELB supports certificates only in PEM format. If you have a certificate in any other format, you must convert it to a PEM-encoded certificate.
  • Currently, ELB does not check certificate validity.