The http secure-server enable command enables the HTTPS service function.
The undo http secure-server enable command disables the HTTPS service function.
The http secure-server disable command disables the HTTPS service function.
By default, the HTTPS IPv4 service function is enabled, and the HTTPS IPv6 service function is disabled.
http [ ipv6 ] secure-server enable
undo http [ ipv6 ] secure-server enable
http [ ipv6 ] secure-server disable
Parameter | Description | Value |
---|---|---|
ipv6 | Enables or disables the HTTPS IPv6 service function. If this parameter is not specified, the HTTPS IPv4 service function is enabled or disabled. |
- |
Usage Scenario
After an SSL policy is loaded to an HTTPS server, the HTTPS server provides HTTPS service using SSL. The client and HTTPS server establish an SSL connection to protect user information from theft.
Prerequisites
The web page file has been loaded to the device.
Precautions
After the HTTPS service is enabled, only authenticated users can use the web browser to access the web network management system to manage devices.
After the HTTPS service is enabled, the SSL handshake negotiation is triggered.
After the http secure-server enable command is run, the device receives login connection requests from all interfaces by default. Therefore, there are security risks. You are advised to run the http server-source command to specify the source interface of the HTTP server.