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

Reminder

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

upgrade

Configuration Guide - Basic Configuration

S9300, S9300E, and S9300X V200R011C10

This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.
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).
Enabling the HTTPS Service

Enabling the HTTPS Service

Context

You can only log in to the web system after the HTTPS service is enabled. To enhance device security, you can change the port number of the HTTPS server to prevent attackers from accessing the server using the default port number. You can also save resources by setting a timeout period for an HTTPS connection when operations are not being performed.

By default, only the HTTPS IPv4 service (not HTTPS IPv6) is enabled on a device. On the HTTPS server, port 443 is used, the timeout period of an HTTPS connection is 20 minutes, and login requests from all interfaces are accepted. If you use the HTTPS IPv4 service, default port number, default timeout period, and accept login requests from all interfaces, do not perform the following configuration. To use the HTTPS IPv6 service, you need to enable it first.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run http [ ipv6 ] secure-server enable

    The HTTPS service is enabled.

    By default, the HTTPS IPv4 service is enabled on a device while the HTTPS IPv6 service is disabled.

  3. Run http [ ipv6 ] secure-server port port-number

    The port number of the HTTPS server is specified.

    The default port number of the HTTPS server is 443.

  4. Run http server-source -i loopback interface-number

    A loopback interface is specified as the source interface of the HTTPS server.

    Before specifying a source interface for an HTTPS server, ensure that the loopback interface has been created. If not, the http server-source command cannot be executed.

  5. Run http timeout timeout

    A timeout period is set for HTTPS connections.

    The default timeout period is 20 minutes.

Translation
Download
Updated: 2019-04-17

Document ID: EDOC1000178413

Views: 68959

Downloads: 109

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