Switch Management Commands 2277After receiving the certificate from the Certification Authority, use the cryptocertificate import command in Global Configuration mode to import thecertificate into the switch. This certificate replaces the self-signed certificate.Use the end command to exit Crypto Certificate Request mode withoutgenerating a certificate request. Use the exit command to exit CryptoCertificate Request mode and generate a certificate request.Exampleconsole(config)#crypto certificate 1 requestconsole(config-crypto-cert)#common-name DELLconsole(config-crypto-cert)#country USconsole(config-crypto-cert)#email no-reply@dell.comconsole(config-crypto-cert)#location “Round Rock”console(config-crypto-cert)#organization-name “Dell EMC”console(config-crypto-cert)#organization-unit “Dell Networking”console(config-crypto-cert)#state TXconsole(config-crypto-cert)#exit-----BEGIN CERTIFICATE REQUEST-----MIIBujCCASMCAQIwejENMAsGA1UEAwwEREVMTDEYMBYGA1UECwwPRGVsbCBOZXR3b3JraW5nMRMwEQYDVQQHDApSb3VuZCBSb2NrMQswCQYDVQQIDAJUWDELMAkGA1UEBhMCVVMxIDAeBgkqhkiG9w0BCQEWEW5vLXJlcGx5QGRlbGwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCb7gWKpCLsG32fSX1sWwRygJrU/m5IOYdJhtss7Qg37uWlkQCBu8lWY6UFORcEP9yCVY+j0OMjEjAueE8VTVfNiGR8anaCdO63sG771z6gVS5M6xFnNM6OsO0rLjpnaqeQ85eHNXK0cKRWA5wRFQcYGS+GfDCk9DEBGID2/sumDwIDAQABoAAwDQYJKoZIhvcNAQEFBQADgYEAahrQQ/Oi0Gn+R2eQnlyBfW59caq+68/GtmeLJdOlTOpQQhT1NgNdRZG0W/TmG2PAumRrPlXf/bnnBobwCTlMPbE0HBEoTKlAbGhXnSDHfrvpGyH8sphWDvCgZ2fSljY6e4SEE5Lu1J1MRJaLstpZGaQfmB0MBPXsPJbIlIT+vPM=-----END CERTIFICATE REQUEST-----durationUse the duration command in Crypto Certificate Generation mode to specifythe duration of certificate validity.Syntaxduration days• days — Specifies the number of days a certification would be valid. Ifleft unspecified, the parameter defaults to 365 days. (Range: 30–3650days)