HTTPS Configuration

Last updated: 2020-04-03 15:13:06

    Operation Scenarios

    The HTTPS protocol is a network protocol built based on the SSL and HTTP protocols for encrypted transfer and authentication, which is more secure than the HTTP protocol. If you want to enable HTTPS acceleration, you can do so by enabling the HTTPS feature for the playback domain name and configuring a correct and valid certificate. You can purchase a certificate from Tencent Cloud SSL Certificate Service. If you already have one, you can upload it to the LVB Console for configuration. Currently, LVB only supports the PEM format. If your certificate is in another format, you need to convert it to PEM format first. The format requirements and configuration method for the certificate are as follows:


    • You have logged in to the LVB Console.
    • You have added a playback domain name.


    Step 1. Edit the HTTPS configuration

    1. Go to Domain Management, click the playback domain to be configured or Manage to enter the Domain Management page.
    2. Select Advanced Configuration to view the HTTPS Configuration tab.
    3. Click Edit to enter the HTTPS configuration page and set as follows:
      1. Toggle HTTPS service on.
      2. Enter the certificate name, certificate content, and private key content.
      3. Click Save.

    • Certificate Name: custom and used to identify a certificate.
    • Certificate Content: a certificate provided by the CA includes Apache, IIS, Nginx, and Tomcat files. The encryption service of LVB uses Nginx, so you should select the content of the Nginx files for the configuration.

      The .crt file is the content of the certificate:

      Please enter the entire content between -------BEGIN CERTIFICATE----- and -----END CERTIFICATE----- in the HTTPS certificate content box.

      If your certificate is issued by an intermediate CA and contains multiple certificates, the certificate content should be spliced as follows:
      -----BEGIN CERTIFICATE-----
      -----END CERTIFICATE-----
      -----BEGIN CERTIFICATE-----
      -----END CERTIFICATE-----

    • Certificate Private Key: the content of the .key file in the Nginx files.

      Please enter the entire content between -----BEGIN RSA PRIVATE KEY----- and -----END RSA PRIVATE KEY----- in the HTTPS private key box.

    Step 2. Verify the configuration

    The HTTPS configuration will take effect in about 2 hours. Please visit the domain name about 2 hours after the certificate is submitted. If HTTPS is displayed in the address bar of the browser, the configuration is successful.

    Step 3. Modify the configuration

    The HTTPS feature can be enabled and disabled. Once it is disabled, LVB will no longer provide HTTPS service for the domain name. If the certificate has expired, it should be replaced with a new valid one.

    For more information on certificate, please see SSL Certificate Operation Guide.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback