1676 Web Server Commands
Example
The following example enables the switch to be configured from a browser.
console(config)#ip http server
ip http secure-certificate
Use the ip http secure-certificate command in Global Configuration mode to
configure the active certificate for HTTPS. To return to the default setting,
use the no form of this command.
Syntax
ip http secure-certificate
number
no ip http secure-certificate
Parameter Description
Default Configuration
The default value of the certificate number is 1.
Command Mode
Global Configuration mode
User Guidelines
The HTTPS certificate is generated using the crypto certificate generate
command in Global Configuration mode.
Example
The following example configures the active certificate for HTTPS.
console(config)#ip http secure-certificate 1
Parameter Description
number Specifies the certificate number. (Range: 1–2)
2CSPC4.XCT-SWUM2XX1.book Page 1676 Monday, October 3, 2011 11:05 AM