![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/d/f1/df1161dc-aa18-4fae-92d0-1a6aff34f906/df1161dc-aa18-4fae-92d0-1a6aff34f906-bg169.png)
Web Server 361
Command Mode
Privileged EXEC mode
User Guidelines
• Use this command to export a certificate request to a Certification Authority. The certificate
request is generated in Base64-encoded X.509 format.
• Before generating a certificate request you must first generate a self-signed certificate using
the
crypto certificate generate
Global Configuration mode command.
• After receiving the certificate from the Certification Authority, use the
crypto certificate
import
Global Configuration mode command to import the certificate into the device. This
certificate would replace the self-signed certificate.
Examples
The following example generates and displays a certificate request for HTTPS.
Console# crypto certificate 1 request
-----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-----
CN= router.gm.com
0= General Motors
C= US