Configuring the local portal server
To make the local portal server take effect, specify the protocol to be used for communication between the portal client and local portal server.
Configuration prerequisites
To configure the local portal server to support HTTPS, complete these configurations at first:
Configure PKI policies, obtain the CA certificate, and apply for a local certificate. For more information, see "Configuring PKI."
Configure the SSL server policy, and specify the PKI domain to be used, which is configured in the above step. For more information, see "Configuring SSL."
When you specify the protocol for the local portal server to support, the local portal server will load the default authentication page file, which is supposed to be saved in the root directory of the device. Therefore, to make sure that the local portal server uses the user-defined default authentication pages, you must edit and save them properly. Otherwise, the system default authentication pages are used.
Configuration procedure
To configure the local portal server:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure the protocol type for the local portal server to support and load the default authentication page file. | portal local-server { http | https server-policy policy-name } | By default, the local portal server does not support any protocol. |
3. Configure the welcome banner of the default authentication pages of the local portal server. | portal server banner banner-string | Optional. No welcome banner by default. |