Chapter 3 Commands Specific to the Content Switching Module with SSL

crypto ca export pem

You can change the default file extensions when prompted. The default file extensions are as follows:

public key (.pub)

private key (.prv)

certificate (.crt)

CA certificate (.ca)

signature key (-sign)

encryption key (-encr)

Note In SSL software release 1.2, only the private key (.prv), the server certificate (.crt), and the issuer CA certificate (.ca) of the server certificate are exported. To export the whole certificate chain, including all the CA certificates, use a PKCS12 file instead of PEM files.

Examples

This example shows how to export a PEM-formatted file on the Content Switching Module with SSL:

 

ssl-proxy(config)#crypto ca import TP5 pem url tftp://10.1.1.1/TP5 password

 

% Importing CA certificate...

 

Address

or name of remote host [10.1.1.1]?

 

Destination filename [TP5.ca]?

 

Reading

file from tftp://10.1.1.1/TP5.ca

 

Loading

TP5.ca from 10.1.1.1 (via Ethernet0/0.168): !

 

[OK - 1976 bytes]

 

% Importing private key PEM file...

 

Address

or name of remote host [10.1.1.1]?

 

Destination filename [TP5.prv]?

 

Reading

file from tftp://10.1.1.1/TP5.prv

 

Loading

TP5.prv from 10.1.1.1 (via Ethernet0/0.168): !

 

[OK - 963 bytes]

 

% Importing certificate PEM file...

 

Address

or name of remote host [10.1.1.1]?

 

Destination filename [TP5.crt]?

 

Reading

file from tftp://10.1.1.1/TP5.crt

 

Loading

TP5.crt from 10.1.1.1 (via Ethernet0/0.168): !

 

[OK - 1692 bytes]

 

% PEM files import succeeded.

 

ssl-proxy(config)# end

 

ssl-proxy#

 

*Apr 11

15:11:29.901: %SYS-5-CONFIG_I: Configured from console by console

 

crypto ca import pem

Related Commands

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

 

OL-7029-01

3-9

 

 

 

Page 231
Image 231
Cisco Systems OL-7029-01 manual Importing CA certificate