RSA and Certificate Commands
OL-32830-01 Command Line Interface Reference Guide
828
43
When using the encrypted form of the command, only the private key must be in
encrypted format.
See Keys and Certificates for information on how to display and copy this key pair.
Examples
Example 1 - The following example imports a certificate signed by the
Certification Authority for HTTPS.
switchxxxxxx(config)#
crypto certificate
1
import
Please paste the input now, add a period (.) on a separate line after the
input,and press Enter.
-----BEGIN CERTIFICATE-----
MIIBkzCB/QIBADBUMQswCQYDVQQGEwIgIDEKMAgGA1UECBMBIDEKMAgGA1UEBxMB
IDEVMBMGA1UEAxMMMTAuNS4yMzQuMjA5MQowCAYDVQQKEwEgMQowCAYDVQQLEwEg
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBibeogIcke73sBSL7tC2DMZrY
OOg9XM1AxfOiqLlBHGZWwfkjKjUDBpZn52LxdDu1KrpB/h0+TZP0Fv38
7mIDqtnoF1NLsWxkVKRM5LPka0L/ha1pYxp7EWAt5iDBzSw5sO4lv0bSN7oaGjFA
6t4SW2rrnDy8JbwjWQIDAQABoAAwDQYJKoZIhvcNAQEEBQADgYEAuqYQiNJst6hI
XFDxe7I8Od3Uyt3Dmf7KE/AmUV0Pif2yUluy/RuxRwKhDp/lGrKs5Ox7
Klft/IcjzbBYXLvih45ASWG3TRv2WVKyWs89rPPXu5hKxggEegXrIqjW
WVZd0n1fXhMacoflgnnEmweIzmrqXBs=
.
-----END CERTIFICATE-----
Certificate imported successfully.
Issued by : C= , ST= , L= , CN=0.0.0.0, O= , OU=
Valid From: Jan 24 18:41:24 2011 GMT
Valid to: Jan 24 18:41:24 2012 GMT
Subject: C=US , ST= , L= , CN=
router.gm.com
, O=
General Motors
, OU=
SHA1
Finger print: DC789788 DC88A988 127897BC BB789788
Example 2:The following example imports a certificate signed by the Certification
Authority for HTTPS, and the RSA key-pair.
Summary of Contents for 300 Series
Page 2: ......