282
To specify a new SSL server policy for HTTPS, first execute the
undo
form of this command to delete
the existing HTTPS-based local portal Web service.
When you specify the listening TCP port number for the HTTPS-based local portal Web service,
follow these restrictions and guidelines:
•
For the HTTPS-based local portal Web service and other services that use HTTPS:
If they use the same SSL server policy, they can use the same TCP port number to listen to
HTTPS.
If they use different SSL server policies, they cannot use the same TCP port number to
listen to HTTPS.
•
Do not configure the HTTPS listening TCP port number as the port number used by a known
protocol (except HTTPS) or other service. For example, do not specify port numbers 80 and 23,
which are used by HTTP and Telnet, respectively.
•
Do not configure the same TCP port number for HTTP and HTTPS local portal Web services.
Examples
# Create an HTTP-based local portal Web service and enter its view.
<Sysname> system-view
[Sysname] portal local-web-server http
[Sysname-portal-local-websvr-http] quit
# Create an HTTPS-based local portal Web service and associate SSL server policy
policy1
with the
service.
<Sysname> system-view
[Sysname] portal local-web-server https ssl-server-policy policy1
[Sysname-portal-local-websvr-https] quit
# Change the SSL server policy to
policy2
.
[Sysname] undo portal local-web-server https
[Sysname] portal local-web-server https ssl-server-policy policy2
[Sysname-portal-local-websvr-https] quit
# Create an HTTPS-based local portal Web service. In the service, the associated SSL server policy
is
policy1
and the listening port number is 442.
<Sysname> system-view
[Sysname] portal local-web-server https ssl-server-policy policy1 tcp-port 442
[Sysname-portal-local-websvr-https] quit
Related commands
default-logon-page
portal local-web-server
ssl server-policy
portal log enable
Use
portal log enable
to enable logging for portal user logins and logouts.
Use
undo user log enable
to disable logging for portal user logins and logouts.
Syntax
portal log enable
undo portal log enable
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...