A SERVICE OF

logo

Web Server Commands 1349
User Guidelines
You must use the crypto certificate generate command to generate the
HTTPS certificate.
Example
The following example enables the switch to be configured from a browser.
console(config)#ip https server
key-generate
Use the key-generate command in Crypto Certificate Generation mode to
specify the key-generate.
Syntax
key-generate [
length
]
length
— Specifies the length of the SSL RSA key. If left unspecified, this
parameter defaults to 1024. (Range: 512–2048)
Default Configuration
This command has no default configuration.
Command Mode
Crypto Certificate Generation mode
User Guidelines
This command mode is entered using the crypto certificate request
command.
Example
The following example displays how to specify that you want to regenerate
the SSL RSA key 1024 byes in length.
console(config-crypto-cert)#key-generate 1024