Problem description

After a live stream is ingested and the recording is generated, the live stream cannot be played over HTTPS.

Solution

To access resources over HTTPS, you must configure an SSL certificate. If you cannot use HTTPS to play videos, perform the following operations to troubleshoot the error:

  1. Check whether HTTPS is enabled for the streaming domain.
    1. Log on to the ApsaraVideo Live console.
    2. In the left-side navigation pane, click Domains to go to the Domain Management page.
    3. Find the streaming domain that you want to configure and click Domain Settings. Domain Settings
    4. Choose Streaming Management > HTTPS Settings and check whether HTTPS is enabled.
      • If HTTPS is not enabled, configure HTTPS settings for the domain name. For more information, see Configure HTTPS settings.
      • If HTTPS is enabled, proceed to the next step.
  2. Check whether the SSL certificate expires.
    1. Log on to the Certificate Management Service console.
    2. Find the SSL certificate that is bound to the streaming domain and check whether the certificate expires.
      • If the certificate expires, renew it at the earliest opportunity. For more information, see Certificate renewal.
      • If the certificate has not expired, proceed to the next step.
  3. Check whether the streaming domain is bound to the SSL certificate.
    1. Log on to the Certificate Management Service console.
    2. Find the SSL certificate and check whether the domain name bound to the SSL certificate is the same as the streaming domain. If they are not the same, upload the certificate that matches the streaming domain.
      Note It takes 1 hour for an updated certificate to take effect.
  4. Check whether the format of the SSL certificate is valid.
    Note ApsaraVideo Live supports only PEM certificates that can be read by NGINX. Check whether the format of the SSL certificate is PEM.
    1. Log on to the Certificates Management Service console.
    2. Find the SSL certificate that is bound to the streaming domain and download the NGINX certificate package, which contains a .pem file and a .key file.
    3. Log on to the ApsaraVideo Live console. Find the streaming domain, go to the HTTPS Settings section, and check whether the SSL certificate is in PEM format. For more information, see Certificate formats.

Applicable scope

ApsaraVideo Live