1738 Web Server CommandsExampleThe following example displays how to specify the country as "us."console(config-crypto-cert)#country uscrypto certificate generateUse the crypto certificate generate command in Global Configuration modeto generate a self-signed HTTPS certificate.Syntaxcrypto certificatenumber generateParameter DescriptionDefault 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.Parameter Descriptionnumber Specifies the certificate number. (Range: 1–2)generate Regenerates the SSL RSA key.