Quick Reference Guide

482 Web Server
Example
The following example regenerates a HTTPS certificate.
crypto certificate request
The crypto certificate request Privileged EXEC mode command generates and displays certificate
requests for HTTPS.
Syntax
crypto certificate
number
request
common- name
[or
organization
] [loc
location
] [st
state
] [cu
country
]
number
— Specifies the certificate number. (Range: 1 - 2)
common- name
— Specifies the fully qualified URL or IP address of the device. (Range: 1 - 64)
or
organization
— Specifies the organization name. (Range: 1 - 64)
loc
location
— Specifies the location or city name. (Range: 1 - 64)
st
state
— Specifies the state or province name. (Range: 1 - 64)
cu
country
— Specifies the country name. (Range: 1 - 2)
Default Configuration
There is no default configuration for this command.
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.
Console(config)# crypto certificate generate key-generate
5400_CLI.book Page 482 Wednesday, December 17, 2008 4:33 PM