Updated on 2024-03-14 GMT+08:00

Using a Certificate for a Protected Website in WAF

If you configure Client Protocol to HTTPS for your website, the website needs an SSL certificate. This topic describes how to bind an SSL certificate that you have uploaded to WAF to a website.

Prerequisites

  • Your certificate is still valid.
  • Your website uses HTTPS as the client protocol.

Constraints

  • An SSL certificate can be used for multiple protected websites.
  • A protected website can use only one SSL certificate.

Application Scenario

If you configure Client Protocol to HTTPS, a certificate is required.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click in the upper left corner and choose Security > Web Application Firewall to go to the Dashboard page.
  4. In the navigation pane, choose Objects > Certificates.
  5. In the row containing the certificate you want to use, click Use in the Operation column.
  6. In the displayed Domain Name dialog box, select the website you want to use the certificate to.
  7. Click Confirm.

Verification

The protected website is listed in the Domain Name column of the certificate.

Related Operations

  • To change the certificate name, move the cursor over the name of the certificate, click , and enter a certificate name.

    If the certificate is in use, unbind the certificate from the domain name first. Otherwise, the certificate name cannot be changed.

  • To view details about a certificate, click View in the Operation column of the certificate.
  • To delete a certificate, locate the row of the certificate and click More > Delete in the Operation column.
  • To update a certificate, locate the row of the certificate and click More > Update in the Operation column.