RSA and Certificate Commands
78-21075-01 Command Line Interface Reference Guide
After receiving the certificate from the Certification Authority, use the
certificate import
Global Configuration mode command to import the certificate
into the device. This certificate replaces the self-signed certificate.
See
Keys and Certificates
certificates.
Example
The following example displays the certificate request for HTTPS.
switchxxxxxx#
crypto certificate
-----BEGIN CERTIFICATE REQUEST-----
MIwTCCASoCAQAwYjELMAkGA1UEBhMCUFAxCzAJBgNVBAgTAkNDMQswCQYDVQQH
EwRDEMMAoGA1UEChMDZGxkMQwwCgYDVQQLEwNkbGQxCzAJBgNVBAMTAmxkMRAw
DgKoZIhvcNAQkBFgFsMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC8ecwQ
HdML0831i0fh/F0MV/Kib6Sz5p+3nUUenbfHp/igVPmFM+1nbqTDekb2ymCu6K
aKvEbVLF9F2LmM7VPjDBb9bb4jnxkvwW/wzDLvW2rsy5NPmH1QVl+8Ubx3GyCm
/oW93BSOFwxwEsP58kf+sPYPy+/8wwmoNtDwIDAQABoB8wHQYJKoZIhvcNAQkH
MRDjEyMwgICCAgICAICAgIMA0GCSqGSIb3DQEBBAUAA4GBAGb8UgIx7rB05m+2
m5ZZPhIwl8ARSPXwhVdJexFjbnmvcacqjPG8pIiRV6LkxryGF2bVU3jKEipcZa
g+uNpyTkDt3ZVU72pjz/fa8TF0n3
-----END CERTIFICATE REQUEST-----
4.7
crypto certificate import
The crypto certificate import Global Configuration mode command imports a
certificate signed by a Certification Authority for HTTPS. In addition, the RSA
key-pair can also be imported.
Use the no form of the command to delete the user-defined keys and certificate.
Syntax
number
crypto certificate
encrypted crypto certificate
no crypto certificate
for information on how to display and copy these
1
request
import
number
import
number
4
crypto
77