Cisco Cisco SG300-28 28-Port Gigabit Managed Switch Technical References

Page of 833
Web Server Commands
78-20269-01  Command Line Interface Reference Guide
213
12
 
Default Configuration
Disabled
Command Mode
Global Configuration mode
User Guidelines
After this command is used, you must generate a certificate using 
. If no certificate is generated, this command has no effect.
Example
switchxxxxxx(config)# ip http secure-server
12.4
ip https certificate
Use the ip https certificate Global Configuration mode command to configure the 
active certificate for HTTPS. Use the no form of this command to restore the 
default configuration.
Syntax
ip https certificate 
number
no ip https certificate
Parameters
number—Specifies the certificate number. (Range: 1–2)
Default Configuration
The default certificate number is 1.
Command Mode
Global Configuration mode
User Guidelines
First, use 
 to generate one or two HTTPS certificates. 
Then use this command to specify which is the active certificate.