Generates an RSA, ECDSA, or DSA key pair to sign or encrypt and decrypt the security payload during security protocol exchanges for applications. You must sign and encrypt or decrypt the key pair before you obtain a certificate for your device.
Generates an RSA key pair.
Global configuration mode
Use the no form of this command to remove the key pair.
The key label must contain alphanumeric characters.
Typical command examples for generating a key pair.
device(config)# crypto key label k1 rsa modulus 1024 device(config)# crypto key label key2 rsa modulus 2048 device(config)# crypto key label pvtkey3 dsa modulus 1024 device(config)# crypto key label k4 ecdsa modulus 384 device(config)# crypto key label k5 ecdsa modulus 521
The following is an example of removing a key pair.
device(config)# no crypto key label k1