< Home

pki dsa local-key-pair destroy

Function

The pki dsa local-key-pair destroy command deletes the specified DSA key pair.

Format

pki dsa local-key-pair destroy key-name

Parameters

Parameter Description Value
key-name Specifies the name of the DSA key pair to be deleted. The value must be an existing DSA key pair name.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If a DSA key pair is leaked, destroyed, unused, or lost, run this command to delete the DSA key pair.

The system will destroy the DSA key pairs on both the main control unit and interface cards. In a hot-standby system, the DSA key pairs on the standby device and standby control unit are also destroyed.

Prerequisites

The DSA key pair has been imported to the memory using the pki import dsa-key-pair command.

Example

# Delete the DSA key pair test.

<sysname> system-view
[sysname] pki dsa local-key-pair destroy test
 Warning: The name of the key pair to be deleted is test.                   
 Are you sure you want to delete the key pair? [y/n]:y                          
 Info: Delete DSA key pair success. 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >