This topic describes how to upload a third-party certificate. You must obtain the public key or private key file of the certificate to upload a third-party certificate.
- A server certificate is purchased.
- A CA certificate and a client certificate are generated. For more information, see Generate a CA certificate.
- Log on to the Server Load Balancer console.
- In the left-side navigation pane, click Certificates.
- On the page that appears, click Create Certificate.
- In the Create Certificate panel, select Upload Third-party Certificate.
- After you select Upload Third-party Certificate, configure the certificate.
Parameter Description Certificate Name
Enter a name for the certificate.
The name must be 1 to 80 characters in length, and can contain only letters, digits, colons (:), underscores (_), forward slashes (/), periods (.), and hyphens (-).
Resource Group Select the resource group to which the certificate belongs. Region
The region where the certificate is used.
Certificates cannot be used across regions. If you need to use a certificate in multiple regions, you must select all of the required regions.
Certificate Type Select the type of the certificate to be uploaded.
- Server Certificate: For HTTPS one-way authentication, only the server certificate and the private key are required.
- CA Certificate: For HTTPS mutual authentication, both the server certificate and the CA certificate are required.
Public Key Certificate
Paste the contents of the server certificate or CA certificate into the field. The public key certificate contains the public key and signature information.
SLB instances use NGINX certificates obtained from a certificate provider. Most of the NGINX certificates are suffixed with .pem, and some certificates may be suffixed with .crt.
Click Example to view the valid certificate formats. For more information, see Certificate requirements.
Private Key Paste the private key of the server certificate into the field. Most of the NGINX certificates are obtained from a certificate provider and are suffixed with .key.
Click Example to view the valid certificate formats. For more information, see Certificate requirements.SLB supports the following private key formats:
-----BEGIN RSA PRIVATE KEY----- Private key (Base64 encoded) -----END RSA PRIVATE KEY-----or
-----BEGIN EC PARAMETERS----- Private key (Base64 encoded) -----END EC PARAMETERS----- -----BEGIN EC PRIVATE KEY----- Private key (Base64 encoded) -----END EC PRIVATE KEY-----Notice
- A private key is required only when you upload a server certificate.
- Keys in the EC format are supported in the following regions:
- UK (London)
- China (Qingdao)
- China (Hohhot)
- China (Chengdu)
- Japan (Tokyo)
- India (Mumbai)
- Australia (Sydney)
- Malaysia (Kuala Lumpur)
- US (Silicon Valley)
- US (Virginia)
- Germany (Frankfurt)
- UAE (Dubai)
- Click Create.