To use Anti-DDoS Premium to scrub HTTPS traffic, you must select HTTPS on the Website Configuration page, and upload the SSL certificate. When your SSL certificate changes, you must update the certificate in the Anti-DDoS Premium console in a timely manner.


  • You have added and configured a website that supports HTTPS. For more information about how to add and configure a website, see Associate a website business with Anti-DDoS Premium for protection.
  • You have prepared the certificate files.
    If you have uploaded your certificate files to Alibaba Cloud SSL Certificates Service, you can select the certificate directly. Otherwise, you need to prepare and upload the certificate files and private key files. The following files are required:
    • The public key file in CRT format or the certificate file in PEM format
    • The private key file in KEY format


  1. Log on to the Anti-DDoS Premium console.
  2. In the left-side navigation pane, choose Provisioning > Website.
  3. On the Website tab, click the upload icon in the Certificate Status column corresponding to the website to upload a certificate for.

  4. In the Upload SSL Certificate and Private Key dialog box that appears, set Upload Method and the corresponding parameters. You can select either of the following methods to upload your certificate.
    • Select Existing Certificates (Recommended)
      If you have uploaded your certificate files to Alibaba Cloud SSL Certificates Service, you can directly select and upload an existing certificate.

      If your certificate files have not been uploaded to SSL Certificates Service, you can click Go to the SSL Certificates console to upload your certificate first. For more information about how to upload certificates to SSL Certificates console, see Upload certificates.

    • Manual Upload

      Set Certificate Name, and copy the content of the certificate file to the Certificate File field and the content of the private key file to the Private Key field.

      • If the certificate file is in PEM, CER, or CRT formats, you can use a text editor to open the file and copy its content. If the certificate file is in another format such as PFX and P7B, you need to convert the file format into PEM before you can use a text editor to open it and copy its content.
      • If your SSL certificate has multiple certificate files, such as a certificate chain, you need to combine the content of multiple certificate files and paste the content to the Certificate File field.
      Example of a certificate file:
      -----BEGIN CERTIFICATE----- 
      -----END CERTIFICATE-----
      Example of a private key file:
      -----BEGIN RSA PRIVATE KEY-----
      -----END RSA PRIVATE KEY-----

  5. Click OK.


After the upload is complete, the certificate status is updated.