Administrator Guide

Switch Management Commands 2296
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 in Global Configuration mode 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
port-number
— Port number for use by the secure HTTP server. (Range:
1025–65535)
Default Configuration
This default port number is 443.
Command Mode
Global Configuration mode
User Guidelines
The HTTPS TCP port should not be set to a value that might conflict with
other well known protocol port numbers used on this switch. It is not possible
for the administrator to directly configure the port number to 443 as 443 is
out of range. Use the no form of the command to set the port number to the
default value of 443.
Example
The following example configures the HTTPS port number to 100.
console(config)#ip http secure–port 4545
2CSNXXX_SWUM204.book Page 2296 Monday, January 25, 2016 1:25 PM