Generates an RSA/ECDSA/DSA key pair to sign or encrypt and decrypt the security payload during security protocol exchanges for applications. You must sign and/or encrypt and decrypt the RSA/ECDSA/DSA key pair before you obtain a certificate for your device.
Generates an RSA key pair.
ECDSA: 256,384, or 521
Global configuration mode
Use the no form of this command to remove the key pair.
The key label must contain alphanumeric characters.
Typical command example for generating the key pair.
device(config)# crypto key label k1 rsa modulus 2048 device(config)# do show running-config crypto crypto key label k1 rsa modulus 2048
The following is an example of using the no form of the command:
device(config)# no crypto key label k1