4
RSA and Certificate Commands
User Guidelines
RSA keys are generated in pairs - one public RSA key and one private RSA key.
If the device already has RSA keys, a warning is displayed with a prompt to
replace the existing keys with new keys.
RSA keys are generated in pairs - one public RSA key and one private RSA key.
If the device already has RSA keys, a warning is displayed with a prompt to
replace the existing keys with new keys.
See
Keys and Certificates
for information on how to display and copy this key
pair.
Example
The following example generates RSA key pairs where a RSA key already exists.
switchxxxxxx(config)# crypto key generate rsa
Replace Existing RSA Key [y/n]? N
switchxxxxxx(config)#
4.3
crypto key import
The crypto key import Global Configuration mode command imports the
DSA/RSA key pair.
Use the no form of the command to remove the user key and generate a new
default in its place.
Syntax
crypto key import {dsa | rsa}
encrypted key import {dsa | rsa}
dsa
rsa
no crypto key {
|
}
Parameters
N/A
Default Configuration
DSA and RSA key pairs do not exist.
70
78-21075-01 Command Line Interface Reference Guide