Cisco Systems 6500 manual Crypto key encrypt rsa, Crypto key decrypt rsa, Crypto key lock rsa

Models: 6500

1 160
Download 160 pages 24.26 Kb
Page 42
Image 42

Chapter 2 Commands for the Catalyst 6500 Series SSL Services Module

crypto key encrypt rsa

crypto key encrypt rsa

To encrypt the RSA keys, use the crypto key encrypt rsa command.

crypto key encrypt [write] rsa [name key-name]passphrase passphrase

Syntax Description

 

write

(Optional) Writes the configuration to the startup configuration.

 

 

name key-name

(Optional) Name of the key.

 

 

 

 

 

 

passphrase passphrase

Pass phrase.

 

 

 

 

 

 

 

Defaults

 

This command has no default settings.

Command Modes

Command History

Global configuration

Release

Modification

SSL Services Module

Support for this command was introduced on the Catalyst 6500 series

Release 3.1(1)

SSL Services Module.

 

 

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.

 

This example shows how to encrypt the RSA key “pki1-72a.cisco.com.” Enter the show crypto key

Examples

 

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#

 

crypto key decrypt rsa

Related Commands

 

crypto key lock rsa

 

crypto key unlock rsa

Catalyst 6500 Series Switch SSL Services Module Command Reference

2-16

OL-9105-01

 

 

Page 42
Image 42
Cisco Systems 6500 manual Crypto key encrypt rsa, Crypto key decrypt rsa, Crypto key lock rsa