ip http secure-server
Use the ip http secure-server command in Global Configuration mode to
enable the switch to be accessed via HTTPS clients. To disable HTTPS
access,, use the no form of this command.
Syntax
ip http secure-server
no ip http secure-server
Default Configuration
The default for the switch is disabled.
Command Mode
Global Configuration mode
User Guidelines
You must import a certificate using the crypto certificate import command,
followed by the crypto certificate generate command.
Example
The following example enables the switch to be configured from a browser.
console(config)#ip http secure-server
key-generate
Use the key-generate command in Crypto Certificate Generation mode to
specify the key-generate.
Syntax
length
key-generate [
length — Specifies the length of the SSL RSA key. If left unspecified, this
•
parameter defaults to 1024. (Range: 512–2048)
]
Web Server Commands
1779