Creating a Certificate
Scenarios
To enable authentication for securing data transmission over HTTPS, ELB allows you to deploy certificates on load balancers.
- A certificate can be bound to one type of load balancer. Ensure that you have selected the correct type.
Create a Certificate
- Log in to the management console.
- In the upper left corner of the page, click and select the desired region and project.
- Click Service List. Under Network, click Elastic Load Balance.
- In the navigation pane on the left, choose Certificates.
- Click Create Certificate. In the Create Certificate dialog box, configure the following parameters:
- Certificate Name
- Certificate Type
- Server certificate: used for SSL handshake negotiations when an HTTPS listener is added. 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.
- Certificate Content: The content must be in PEM format.
Click Upload and select the certificate to be uploaded. Ensure that your browser is of the latest version.
- Private Key
Click Upload and select the private key to be uploaded. Ensure that your browser is of the latest version.
The private key must be an unencrypted one, and its format is as follows:-----BEGIN PRIVATE KEY----- [key] -----END PRIVATE KEY-----
If a certificate chain is used, you need to configure the content and private keys of all certificates in sequence, starting from the sub-certificate, and ensure that the certificate content is configured in the same sequence as private keys. For example, if you have three certificates: sub-certificate, intermediate certificate, and root certificate, the first one to be configured is the sub-certificate, followed by the intermediate certificate, and the last one is the root certificate.
- Domain Name
If the created certificate is used for SNI, you need to specify a domain name. Only one domain name can be specified for each certificate, and the domain name must be the same as that in the certificate.
- Description
- Click OK.
Delete a Certificate
Only certificates that are not in use can be deleted.
- Log in to the management console.
- In the upper left corner of the page, click and select the desired region and project.
- Click Service List. Under Network, click Elastic Load Balance.
- In the navigation pane on the left, choose Certificates.
- Locate the target certificate and click Delete in the Operation column.
- In the Delete Certificate dialog box, click Yes.
Modify a Certificate
- Log in to the management console.
- In the upper left corner of the page, click and select the desired region and project.
- Click Service List. Under Network, click Elastic Load Balance.
- In the navigation pane on the left, choose Certificates.
- Locate the target certificate and click Modify in the Operation column.
- In the Modify Certificate dialog box, modify the parameters.
- Click OK.
Bind a Certificate
- Log in to the management console.
- In the upper left corner of the page, click and select the desired region and project.
- Click Service List. Under Network, click Elastic Load Balance.
- Locate the target load balancer and click its name.
- Under Listeners, click Add Listener.
- In the Add Listener dialog box, set the parameters. When Frontend Protocol is set to HTTPS, a server certificate must be bound to the listener.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot