Scenario
This document provides guidance for you to implement HTTPS on websites, monitor HTTPS service traffic, identify and block attacks, such as SQL injection and CC attacks, and protect web services.
Assume that you have a website with the domain name www.example.com, and that you need to apply for an SSL certificate and use the purchased WAF to monitor HTTPS service traffic. This document describes how to apply for a certificate and enable WAF to monitor HTTPS service traffic in this scenario.
Working Principles of an SSL Certificate
An SSL certificate is used in establishing encryption channels between the web server and browser and between the web server and client. The HTTPS protocol is enabled by configuring and applying SSL certificates to ensure the security of data transmission over Internet.
WAF Configuration Principles
WAF is designed to keep web applications stable and secure. It examines all HTTPS requests to detect and block attacks, such as Structure Query Language (SQL) injections, cross-site scripting (XSS), webshell upload, command or code injections, file inclusion, sensitive file access, third-party vulnerability exploits, CC attacks, malicious crawlers, and cross-site request forgery (CSRF).
This section describes how to perform the configuration when no proxy is used between the client and WAF. If a proxy is used between the client and WAF, perform the configuration based on the WAF documentation.
- DNS resolves your domain name to the origin server IP address before your website is connected to WAF. Therefore, web visitors can directly access the server.
- After your website is connected to WAF, DNS resolves your domain name to the CNAME record of WAF. In this way, the traffic passes through WAF. WAF then filters out illegitimate traffic and only routes legitimate traffic back to the origin server.
Last Article: Pushing Certificates to WAF
Next Article: Applying for and Pushing a Certificate
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.