Users Guide

Switch Management Commands 2364
Example
The following example generates a self-signed HTTPS certificate. The
exit
command attempts to generate the self-signed certificate. Use the
end
command to exit Crypto Certificate Generate mode without generating a
certificate.
console(config)#crypto certificate 1 generate
console(config-crypto-cert)#key-generate
console(config-crypto-cert)#common-name DELL-Switch101
console(config-crypto-cert)#country US
console(config-crypto-cert)#duration 3650
console(config-crypto-cert)#email no-reply@dell.com
console(config-crypto-cert)#location “Round Rock”
console(config-crypto-cert)#organization-unit “Dell Networking”
console(config-crypto-cert)#organization-name “Dell EMC, Inc.”
console(config-crypto-cert)#state TX
console(config-crypto-cert)#exit
Certificate Generation Successful…
The generated certificate can be displayed using the show crypto certificate
command. Copy the certificate text into a text file with a .scr extension for
importing into a web browser.
Example
The following example generates a certificate signing request.
console(config)#crypto certificate 1 request
console(config-crypto-cert)#common-name DELL-Switch102
console(config-crypto-cert)#country US
console(config-crypto-cert)#email no-replay@dell.com
console(config-crypto-cert)#location “Round Rock”
console(config-crypto-cert)#organization-unit “Dell Networking”
console(config-crypto-cert)#organization-name “Dell EMC, Inc.”
console(config-crypto-cert)#state TX
console(config-crypto-cert)#exit
-----BEGIN CERTIFICATE REQUEST-----
MIIB0TCCAToCAQIwgZAxETAPBgNVBAMMCEJST0FEQ09NMRcwFQYDVQQKDA5CUkNN
LUhZREVSQUJBRDERMA8GA1UECwwIQlJPQURDT00xETAPBgNVBAcMCEJSQ00tSFlE
MQswCQYDVQQIDAJBUDELMAkGA1UEBhMCSU4xIjAgBgkqhkiG9w0BCQEWE3NoeWFt
a0Bicm9hZGNvbS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMiUQ8wx
CvIcoxpC5vQETaDPpa5X69eDA9rpNmtcyvB+0YLA9xLwJm8kb/YcYVLBduAP+gNa
CBucufXlbryai7fhSDFbkRPbkzjiSgRIvPub81/wqwwVe30EPArJpHUP+AtV35x0