To use Anti-DDoS Pro to filter HTTPS traffic, you must select HTTPS in the domain settings and upload the SSL certificate. When your SSL certificate expires, you must update the certificate in the Anti-DDoS Pro console in a timely manner.


  • You have added your domain in the Anti-DDoS Pro console and your site supports HTTPS. For more information about adding domains, see Step 1: Add a website.
  • 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 the certificate files for upload. Generally, 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 Pro console .
  2. In the left-side navigation pane, choose Management > Websites.
  3. In the Websites list, select your domain and click the upload icon in the Certificate Status column.

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

      If your certificate is not hosted on SSL Certificates Service, you can click Go to the SSL Certificates console to upload your certificate first. For more information about uploading certificates to SSL Certificates Service, see Upload certificates.

    • Manual Upload

      Enter a Certificate Name, and copy the contents of the certificate file and private key file to the Certificate File field and Private Key field respectively.

      • For certificate files in common formats, such as PEM, CER, and CRT, you can use a text editor to open the file and copy its contents. For certificate files in other formats, such as PFX and P7B, you need to convert the file into PEM format first.
      • If your SSL certificate includes multiple certificate files, such as a certificate chain, you need to combine the contents of multiple certificate files and paste them into the Certificate File field.
      Certificate file example
      -----BEGIN CERTIFICATE----- 
      -----END CERTIFICATE-----
      Private key file example
      -----BEGIN RSA PRIVATE KEY-----
      -----END RSA PRIVATE KEY-----

  5. Click OK.


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