< Home

pki delete-file

Function

The pki delete-file command deletes a certificate file saved on the CF card or Hda1.

Format

pki delete-file filename

Parameters

Parameter

Description

Value

filename

Specifies the name of the certificate file.

The certificate file name must already exist.

Views

All views

Default Level

2: Configuration level

Usage Guidelines

Remove the certificate file from the memory before removing it form the CF card or Hda1.

Example

# Delete the certificate file ca.cer on the device.

<sysname> system-view
[sysname] pki delete-certificate ca filename ca.cer
[sysname] quit
<sysname> pki delete-file ca.cer
 Warning: Confirm to delete the file?[Y/N]y
 Info: Delete Success.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >