When you add an HTTPS or TLS 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.
When you add an HTTPS or TLS listener to route requests, you need to select SSL Authentication. For one-way authentication, you need to configure a server certificate for the listener. For mutual authentication, you need to configure both a server certificate and a CA certificate.
One-way Authentication | Only backend servers will be authenticated. You need to bind a server certificate to the listener to authenticate the server. |
|---|---|
Mutual Authentication | The clients and the load balancer authenticate each other. Only authenticated clients will be allowed to access the load balancer. You need to bind both a server certificate and a CA certificate to the listener to allow the clients and the load balancer to authenticate each other. You do not need to configure mutual authentication on the backend servers. |
ELB supports two types of certificates.
Server Certificate | Used for SSL handshake negotiations if an HTTPS or TLS listener is used. Both the certificate content and private key are required. |
|---|---|
CA Certificate | Also called client CA public key certificate and used to verify the client certificate issuer. If mutual authentication is required, connections can be established only when the client provides a certificate issued by a specific CA. |
You can copy and paste the certificate body to create a certificate or directly upload a certificate.
A certificate issued by the Root CA is unique, and no additional certificates are required. The configured site is considered trustable by access devices, such as a browser.
The body of the server and CA certificates must meet the requirements as described below.
The following is an example:
-----BEGIN CERTIFICATE-----Base64–encoded certificate-----END CERTIFICATE-----
When creating a server certificate, you also need to upload the private key of the certificate. You can copy and paste the private key content or directly upload the private key in the required format.
Private keys must be unencrypted and meet the following requirements:
The following is an example:
-----BEGIN RSA PRIVATE KEY-----[key]-----END RSA PRIVATE KEY-----
ELB only supports certificates in PEM format. If you have a certificate in any other format, you must convert it to a PEM-encoded certificate. There are some common methods for converting a certificate from any other format to PEM.