1772 Web Server Commandscrypto certificate generateUse the crypto certificate generate command in Global Configuration modeto generate a self-signed HTTPS certificate.Syntaxcrypto certificatenumber generate•number—Specifies the certificate number. (Range: 1–2)• generate—Regenerates the SSL RSA key.Default ConfigurationThis command has no default configuration.Command ModeGlobal Configuration modeUser GuidelinesThis command is not saved in the router switch configuration; however, thecertificate and keys generated by this command are saved in the privateconfiguration. This saved information is never displayed to the user or backedup to another switch. If the RSA keys do not exist, the generate parametermust be used. To save the generated certificate and keys on the local switchand distribute the certificate across a stack, save the configuration.Otherwise, the certificate and keys will not be available after the next reboot.ExampleThe following example generates a self-signed HTTPS certificate.console(config)#crypto certificate 1 generateconsole(config-crypto-cert)#common-name DELLconsole(config-crypto-cert)#country USconsole(config-crypto-cert)#Duration 3650console(config-crypto-cert)#email no-reply@dell.comconsole(config-crypto-cert)#location "Round Rock"console(config-crypto-cert)#organization-unit "PowerConnect Networking"console(config-crypto-cert)#organization-name "Dell, Inc."console(config-crypto-cert)#state TXconsole(config-crypto-cert)#key-generateconsole(config-crypto-cert)#exit