< Home

ftp secure-server ssl-policy

Function

The ftp secure-server ssl-policy command configures an SSL policy for the FTP server.

The undo ftp secure-server ssl-policy command deletes an SSL policy from the FTP server.

By default, no SSL policy is configured for the FTP server.

Format

ftp secure-server ssl-policy policy-name

undo ftp secure-server ssl-policy

Parameters

Parameter Description Value
policy-name Specifies the name of an SSL policy. The value is a string of 1 to 23 case-insensitive characters without spaces. When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The traditional FTP function transmits data in plain text, which can be intercepted and tampered with. You can run the ftp secure-server ssl-policy command to configure anSSL policy for the FTP server to ensure data security so that the FTP server implements session negotiation, sets up connections, and transmits data based on the SSL policy. You can log in to the FTP server from a client and manage files between the FTP server and client.

Prerequisites

Before running the ftp secure-server ssl-policy command to configure the SSL policy, you must first run the ssl policy command to create anSSL policy for the FTP server.

Precautions

  • You must apply for a digital certificate for the FTP client from a trusted CA to authenticate the validity of the FTP server digital certificate.

  • Only one SSL policy can be configured for the FTP server, and the latest configured SSL policy takes effect.

Example

# Configure an SSL policy for the FTP server.

<HUAWEI> system-view
[HUAWEI] ftp secure-server ssl-policy ftp_server
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >