connection-mode

Configures a captive portal‘s mode of connection to the Web server. HTTP uses plain unsecured connection for user requests. HTTPS uses an encrypted connection to support user requests.

Both HTTP and HTTPS use the same URI (Uniform Resource Identifier), so controller and client resources can be identified. However, the use of HTTPS is recommended, as it affords controller and client transmissions some measure of data protection HTTP cannot provide.

Supported in the following platforms:

Syntax

connection-mode [http|https]

Parameters

connection-mode [http|https]

http

Sets HTTP as the default connection mode. This is the default setting.

https

Sets HTTPS as the default connection mode

Note: HTTPS is a more secure version of HTTP, and uses encryption while sending and receiving requests.

Examples

nx9500-6C8809(config-captive-portal-test)#connection-mode https
nx9500-6C8809(config-captive-portal-test)#show context
captive-portal test
 access-type logging
 access-time 35
 connection-mode https
 accounting syslog host 172.16.10.13 port 1
nx9500-6C8809(config-captive-portal-test)#

Related Commands

no

Removes this captive portal's connection mode