SSH Commands
crypto certificate request
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 414
29
•ou organization-unit — Specifies the organization-unit or department name.
Range: 1 - 64 characters
•or organization — Specifies the organization name. Range: 1 - 64
characters
•loc location — Specifies the location or city name. Range: 1 - 64 characters
•st state — Specifies the state or province name. Range: 1 - 64 characters
•cu country — Specifies the country name. Range: 2 letters
Default Configuration
There is no default configuration for this command.
Command Mode
Privileged EXEC
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 command in
order to generate the keys. Be aware that you should reenter the certificates
fields.
After receiving the certificate from the Certification Authority, use the crypto
certificate import global configuration 1command to import the certificate into
the device. This certificate would replace the self-signed certificate.
Examples
Console# crypto certificate 1 request
-----BEGIN CERTIFICATE REQUEST-----
MIwTCCASoCAQAwYjELMAkGA1UEBhMCUFAxCzAJBgNVBAgTAkNDMQswCQYDVQQH
EwRDEMMAoGA1UEChMDZGxkMQwwCgYDVQQLEwNkbGQxCzAJBgNVBAMTAmxkMRAw