Updated on 2024-07-22 GMT+08:00

Uploading a Server Certificate

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click in the upper left corner of the page, and choose Networking > Virtual Private Network.
  4. In the navigation pane on the left, choose Virtual Private Network > Enterprise – VPN Gateways.
  5. Click the P2C VPN Gateways tab. In the P2C VPN gateway list, locate the target P2C VPN gateway, and click Configure Server in the Operation column.
  6. On the Server tab page, click Upload in the Server Certificate drop-down list box. The Cloud Certificate Manager page is displayed.
  7. On the SSL Certificate Manager page, click the Hosted Certificates tab, click Upload Certificate, and enter related information as prompted.

    Table 1 describes the parameters for uploading a certificate.
    Table 1 Parameters for uploading an international standard certificate

    Parameter

    Description

    Certificate standard

    Select International.

    Certificate Name

    User-defined name of a certificate.

    Enterprise Project

    Select the enterprise project to which the SSL certificate is to be added.

    Certificate File

    Open the .pem file in the certificate to be uploaded as a text file, and copy the certificate content in the file to this text box.

    You need to upload a combined certificate file that contains both the server certificate content and CA certificate content. The CA certificate content must be pasted below the server certificate content.

    For the format of the certificate file content to be uploaded, see Figure 1.

    Private Key

    Open the .key file in the certificate to be uploaded as a text file, and copy the private key in the file to this text box.

    You only need to upload the private key of the server certificate.

    For the format of the private key content to be uploaded, see Figure 1.

    Figure 1 Format of the certificate content to be uploaded

    The common name (CN) of a server certificate must be in the domain name format.

  8. Click Submit. The certificate is uploaded.
  9. In the certificate list, verify that the certificate status is Hosted.