RSA and Certificate Commands
OL-32830-01 Command Line Interface Reference Guide
43.2 crypto key generate rsa
The crypto key generate rsa Global Configuration mode command generates RSA
key pairs.
Syntax
crypto key generate rsa
Parameters
N/A
Default Configuration
The application creates a default key automatically.
Command Mode
Global Configuration mode
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.
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)#
Replace Existing RSA Key [y/n]? N
switchxxxxxx(config)#
43.3 crypto key import
The crypto key import Global Configuration mode command imports the
DSA/RSA key pair.
crypto key generate rsa
43
820