Users Guide

Switch Management Commands 2372
ip http secure-certificate
Use the ip http secure-certificate command 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
number—Specifies the certificate number. (Range: 1–2)
Default Configuration
The default value of the certificate number is 1.
Command Mode
Global Configuration mode
User Guidelines
The HTTPS certificate is imported using the crypto certificate import
command in Global Configuration mode.
Example
The following example configures the active certificate for HTTPS.
console(config)#ip http secure-certificate 1
ip http secure-port
Use the ip http secure-port command to configure a TCP port on which the
switch listens for HTTPS connections. To use the default port, use the no
form of this command.
Syntax
ip http secure-port port-number
no ip http secure-port