beautypg.com

Duration – Dell POWEREDGE M905 User Manual

Page 547

background image

Web Server Commands

545

After receiving the certificate from the Certification Authority, use the crypto certificate import
command in Global Configuration mode to import the certificate into the switch. This certificate
replaces the self-signed certificate.

Example

The following example generates and displays a certificate request for HTTPS.

console#crypto certificate 1 request

console(config-crypto-cert)#

-----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

duration

Use the duration command in Crypto Certificate Generation mode to specify the duration.

Syntax

duration days

days—Specifies the number of days a certification would be valid. If left unspecified, the
parameter defaults to 365 days. (Range: 30 - 3650 days)

Default Configuration

This command defaults to 365 days.