Chapter 2 Commands for the Catalyst 6500 Series SSL Services Module

crypto key decrypt rsa

crypto key decrypt rsa

To delete the encrypted key and leave only the unencrypted key, use the crypto key decrypt rsa command.

crypto key decrypt [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

 

Global configuration mode

 

 

 

 

 

 

 

 

 

 

 

Command History

 

Release

 

 

Modification

 

 

 

 

 

 

 

 

 

 

SSL Services Module

 

Support for this command was introduced on the Catalyst 6500 series

 

 

Release 3.1(1)

 

SSL Services Module.

 

 

 

 

 

 

Entering the write keyword immediately saves the unencrypted key to NVRAM. If you do not enter the

Usage Guidelines

 

 

 

write keyword, you must manually write the configuration to NVRAM; otherwise, the key remains

 

 

encrypted the next time that the router is reloaded.

 

 

 

 

Examples

 

This example shows how to display the administration VLAN and related IP and gateway addresses:

 

 

ssl-proxy(config)#crypto key decrypt rsa name pki1-72a.cisco.com passphrase cisco1234

 

 

WARNING: Configuration with decrypted key not saved.

 

 

Please save it manually as soon as possible to

 

 

save decrypted key

 

 

 

 

 

 

 

ssl-proxy(config)# end

 

 

 

 

 

 

ssl-proxy#show crypto key mypubkey rsa

 

 

Key name: pki1-72a.cisco.com

 

 

 

 

 

Usage: General Purpose Key

 

 

 

 

 

Key is not exportable.

 

 

 

 

 

Key Data:

 

 

 

 

 

 

 

 

30819F30

0D06092A

864886F7

0D010101

05000381

 

 

...

 

 

 

 

 

 

 

 

% Key pair was generated at: 15:42:15 PST Jun

 

 

ssl-proxy#

 

 

 

 

 

 

 

 

crypto key encrypt rsa

 

 

 

 

Related Commands

 

 

 

 

 

 

 

crypto key lock rsa

 

 

 

 

 

 

 

crypto key unlock rsa

 

 

 

 

Catalyst 6500 Series Switch SSL Services Module Command Reference

 

OL-9105-01

2-15

 

 

 

Page 41
Image 41
Cisco Systems 6500 manual Crypto key decrypt rsa, Name key-name, Passphrase passphrase, Crypto key encrypt rsa