4 ip https port, 5 crypto certificate generate – Planet Technology WGSW-48040 User Manual
Page 350
User’s Manual of WGSW-24020/WGSW-48040
-35
5.28.4 ip https port
The ip https port global configuration command configures a TCP port for use by a secure web browser to configure the device.
To use the default port, use the no form of this command.
Syntax
ip https port port-number
no ip https port
port-number — Port number for use by the HTTP server. (Range: 0 - 65535)
Default Configuration
This default port number is 443.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
The following example configures the https port number to 100.
Console (enable)# ip https port 100
5.28.5 crypto certificate generate
The crypto certificate generate global configuration command generates a HTTPS certificate.
Syntax
crypto certificate generate
[key-generate [length]]
key-generate
— Regenerate SSL RSA key.
length — Specifies the SSL RSA key length. If unspecified, length defaults to 1024. (Range: 512 - 2048)
Default Configuration
The Certificate and the SSL RSA key pairs do not exist.
Command Mode
Global Configuration mode
User Guidelines
The command is not saved in the router configuration; however, the certificate and keys generated by this command are saved