
Applicable Environment
When users access a remote AR1200-S functioning as an HTTP server, the following problems
exist:
l
Users cannot authenticate the AR1200-S.
l
Privacy of data transmitted between users and the AR1200-S cannot be protected.
l
Integrity of data transmitted between users and the AR1200-S cannot be ensured, and the
data may be modified by unauthorized users.
To solve the preceding problems, configure the AR1200-S as an HTTPS server. The AR1200-
S uses the SSL protocol's data encryption, identity authentication, and message integrity check
mechanisms to protect security of data transmitted between users and the AR1200-S. These
mechanisms ensure that users securely access a remote AR1200-S on web pages.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Configure a server SSL policy. For details, see
11.3 Configuring a Server SSL Policy
.
Step 3
Run:
http secure-server ssl-policy
ssl-policy
An SSL policy is applied to the HTTPS service.
By default, no SSL policy is applied to the HTTPS service on the AR1200-S.
Step 4
(Optional) Run:
http secure-server port
port
The port number is set for the HTTPS service.
By default, the port number of the HTTPS service is 443.
Step 5
Run:
http secure-server enable
The HTTPS server function is enabled on the AR1200-S.
By default, the HTTPS server function is disabled on the AR1200-S.
----End
Example
# 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
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
2 HTTPS Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
37