No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - Security

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the network management feature supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the Device as an HTTPS Server

Configuring the Device as an HTTPS Server


A server SSL policy has been configured. For details on how to configure a server SSL policy, see Configuring a Server SSL Policy.


The HTTPS server function allows users to securely access the device on web pages.

When users access a remote device functioning as an HTTP server, the following problems exist:

  • Users cannot authenticate the device.
  • Privacy and integrity of data transmitted between users and the device cannot be ensured.

To solve the preceding problems, configure the device as an HTTPS server. The device uses the SSL protocol's data encryption, identity authentication, and message integrity check mechanisms to protect security of data transmitted between users and the device. These mechanisms ensure that users securely access a remote device on web pages.


  1. Run system-view

    The system view is displayed.

  2. Run http secure-server ssl-policy ssl-policy

    An SSL policy is applied to the HTTPS service.

    By default, the server SSL policy applied to the HTTPS service on the device is default_policy.

  3. (Optional) Run http secure-server port port-number

    The port number is set for the HTTPS service.

    By default, the port number of the HTTPS service is 443.

  4. (Optional) Run http secure-server manager-port port-number

    The management port of the HTTPS server is enabled and the management port number is set.

    By default, the management port of the HTTPS server is disabled.


    Only users at level 3 and higher levels can log in to the web platform through the management port.

  5. Run http secure-server enable

    The HTTPS server function is enabled on the device.

    By default, the HTTPS server function is enabled on the device.

Verifying the Configuration

# Run the display current-configuration command to check the configuration of the HTTPS server.

<Huawei> display current-configuration | include http secure-server
 http secure-server port 1026
 http secure-server ssl-policy user                                                   
 http secure-server enable
Updated: 2019-08-07

Document ID: EDOC1100034077

Views: 137586

Downloads: 248

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next