Default Configuration
This default port number is 443.
Command Mode
Global Configuration mode
User Guidelines
Specifying 0 as the port number effectively disables HTTPS access to the Ethernet Switch
Module.
Example
The following example configures the https port number to 100.
console(config)# ip https port 100
crypto certificate generate
The crypto certificate generate Global Configuration mode command generates a HTTPS
certificate.
Syntax
crypto certificate [number] generate [key-generate [length]][cn common- name][or
organization] [ou organization-unit] [loc location] [st state] [cu country] [duration days]
•
number — Specifies the certificate number. If unspecified, defaults to 1. (Range: 1 - 2)
•
key-generate — Regenerate SSL RSA key.
•
length — Specifies the SSL RSA key length. If unspecified, length defaults to 1024.
(Range: 512 - 2048)
common- name — Specifies the fully qualified URL or IP address of the Ethernet Switch
•
Module. If unspecified, defaults to the lowest IP address of the Ethernet Switch Module
(where the certificate is generated). (Range: 1 - 64)
•
organization — Specifies the organization name. (Range: 1 - 64)
•
organization-unit — Specifies the organization-unit or department name.(Range: 1 - 64)
•
location — Specifies the location or city name. (Range: 1 - 64)
state — Specifies the state or province name. (Range: 1 - 64)
•
•
country — Specifies the country name. (Range: 2 - 2)
•
days — Specifies number of days a certification would be valid. If unspecified defaults to
365 days. (Range: 30 - 3650)
Default Configuration
The Certificate does not exist.
331
Web Server