Crypto Key Encrypt Rsa - Cisco Catalyst 6500 Series Command Reference Manual

Ssl services module command reference
Hide thumbs Also See for Catalyst 6500 Series:
Table of Contents

Advertisement

crypto key encrypt rsa

crypto key encrypt rsa
To encrypt the RSA keys, use the crypto key encrypt rsa command.
Syntax Description
write
name key-name
passphrase passphrase Pass phrase.
Defaults
This command has no default settings.
Command Modes
Global configuration
Command History
Release
SSL Services Module
Release 3.1(1)
Usage Guidelines
After you enter this command, the router can continue to use the key; the key remains unlocked.
If you do not enter the write keyword, you must manually write the configuration to NVRAM;
otherwise, the encrypted key will be lost the next time that the router is reloaded.
Examples
This example shows how to encrypt the RSA key "pki1-72a.cisco.com." Enter the show crypto key
mypubkey rsa command to verify that the RSA key is encrypted (protected) and unlocked.
ssl-proxy(config)# crypto key encrypt rsa name pki1-72a.cisco.com passphrase cisco1234
ssl-proxy(config)# exit
ssl-proxy# show crypto key mypubkey rsa
Key name:pki1-72a.cisco.com
Usage:General Purpose Key
*** The key is protected and UNLOCKED. ***
Key is not exportable.
Key Data:
305C300D 06092A86 4886F70D 01010105 00034B00 30480241 00E0CC9A 1D23B52C
...
% Key pair was generated at:00:15:32 GMT Jun 25 2003
ssl-proxy#
Related Commands
crypto key decrypt rsa
crypto key lock rsa
crypto key unlock rsa
Catalyst 6500 Series Switch SSL Services Module Command Reference
2-16
crypto key encrypt [write] rsa [name key-name] passphrase passphrase
(Optional) Writes the configuration to the startup configuration.
(Optional) Name of the key.
Modification
Support for this command was introduced on the Catalyst 6500 series
SSL Services Module.
Chapter 2
Commands for the Catalyst 6500 Series SSL Services Module
OL-9105-01

Advertisement

Table of Contents
loading

Table of Contents