Replacing a Certificate

Scenarios

If the certificate used by the load balancer has expired or needs to be replaced due to other reasons, you can replace the certificate by following the operations in this section. Replacing certificates and private keys does not affect your business.

  • Scenario 1: Creating a certificate

    Create a certificate on the Certificates page of the ELB console and use this certificate to replace the one bound to the listener. For details, see Procedure.

  • Scenario 2: Modifying a certificate

    Modify the existing certificate on the Certificates page of the ELB console. The system will automatically synchronize the certificate to the bound listener. For details, see Modifying a Certificate.

If other services, such as WAF, also use the certificate, replace the certificate on all these services to prevent service unavailability.

The new certificate takes effect immediately. The old certificate is used for established connections, and the new certificate is used for new connections.

Prerequisites

The new certificate has been created. For details, see Creating a Certificate.

Procedure

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Click Service List. Under Network, click Elastic Load Balance.
  4. Locate the load balancer and click its name.
  5. On the Listeners tab page, locate the HTTPS listener and click on the right.

  6. In the Modify Listener dialog box, select the certificate to be replaced from the Server Certificate drop-down list.
  7. Click OK.