Devices provide web services. An administrator can log in to the web management page of a device as an AAA authentication user and configure services. Attackers use all IP addresses of the device or initiate slow HTTP attacks to attempt to access the web service of the device. You are advised to configure the following security hardening measures to implement web service security:
After security hardening, the administrator can use only the client onto which a specified certificate is loaded to access the web service of the device through a fixed interface, IP address, and port. The CA certificate that can verify the client certificate must be loaded onto the device.
system-view web-manager enable [ port port-number ]
For versions earlier than V600R007C20: by default, the FW supports the TLS1.1 and TLS1.2 versions. For V600R007C20 and later versions: by default, the FW supports the TLS1.2 version.
web-manager security version tlsv1.2
web-manager security server-certificate server-certificate-file
If no certificate is specified, the server sends the default certificate to the client for authentication when the client attempts to log in to the server through HTTPS. If a certificate is specified, the server sends the specified certificate to the client for authentication. You can obtain the CA certificate from the device's web UI or CA server and import it to the client's browser. The client then uses the imported CA certificate to verify the identity of the device.
The local certificate needs to be applied for from the CA server. After the CA server generates the requested certificate, download the certificate to the device's storage path and then import it into the memory for the certificate to take effect. For detailed configurations, see Configuration Guide > Object > Certificate > Security Protection > Configuring PKI-CLI.
web-manager timeout minutes
If no operation is performed on the web UI within the specified timeout period, the current user is automatically logged out.
web-manager max-user-number max-user-number
web-manager slow-attack check [ content-length content-length | payload-length payload-length | packet-number packet-number ] *