Chapter 34: Encryption Key Commands
512
DESTROY ENCO KEY
Syntax
destroy enco key=key-id
Parameter
key Specifies the ID number of the key pair to be deleted
from the key database.
Description
This command deletes an encryption key pair from the key database.
This command also deletes a key’s corresponding ”.UKF” file from the file
system. Once a key pair is deleted, any SSL certificate created using the
public key of the key pair will be invalid and cannot be used to manage
the switch. To view the keys, see SHOW ENCO on page 514.
You cannot delete a key pair if it is being used by SSL or SSH. You must
first either disable the SSL or SSH server software on the switch or
reconfigure the software by specifying another key.
Example
The following command destroys the encryption key pair with the key ID
of 4:
destroy enco key=4