< Home

authentication https-redirect enable

Function

The authentication https-redirect enable command enables HTTPS redirection for Portal or 802.1X authentication.

The undo authentication https-redirect enable command disables HTTPS redirection for Portal or 802.1X authentication.

By default, HTTPS redirection for wireless Portal or 802.1X authentication is enabled, and HTTPS redirection for wired Portal or 802.1X authentication is disabled.

Format

authentication https-redirect enable

undo authentication https-redirect enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In Portal authentication scenarios, many well-known websites, such as Google and Baidu, use HTTPS. When a user accesses an HTTPS website, the user must be redirected to the Portal authentication page so that the user can be authenticated and access the Internet. After HTTPS redirection for Portal authentication is enabled, the device redirects unauthenticated Portal users to the Portal authentication page when they access HTTPS websites.

In 802.1X or Portal authentication scenarios, if the web page push function is deployed for HTTPS packets, run the authentication https-redirect enable command to enable the HTTPS redirection function. Otherwise, the web page push function does not take effect.

Precautions

  • When Portal authentication is triggered while a user accesses an HTTPS website, the browser displays a security prompt, requiring the user to click Continue to complete Portal authentication.
  • Redirection is not supported if the browser or website runs HTTP Strict Transport Security (HSTS).
  • If the destination port number of the HTTPS request packet sent by the user is not a well-known port number (443), redirection cannot be performed.
  • To enable HTTPS redirection for wired Portal authentication, run the authentication https-redirect enable command and then the portal https-redirect wired enable command.

  • This function takes effect only for new Portal or 802.1X authentication users.
  • This function takes effect only after a Portal server template is created or the IP address of the built-in Portal server is configured.

Example

# Enable HTTPS redirection for Portal authentication.

<HUAWEI> system-view
[HUAWEI] authentication https-redirect enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >