beautypg.com

Set http server – Allied Telesis AT-S62 User Manual

Page 352

background image

Chapter 26: Web Server Commands

352

SET HTTP SERVER

Syntax

set http server [security=enabled|disabled]
[sslkeyid=key-id] [port=port]

Parameters

security

Specifies the security mode of the web server.
Possible settings are:

enabled

Specifies that the web server is to
function in the secure HTTPS mode.

disabled

Specifies that the web server is to
function in the non-secure HTTP
mode. This is the default.

sslkeyid

Specifies a key pair ID. This parameter is required if
you are configuring the web server to operate in the
secure HTTPS mode.

port

Specifies the TCP port number that the web server
will listen on. The default for non-secure HTTP
operation is port 80. The default for secure HTTPS
operation is port 443.

Description

This command configures the web server. You can configure the server
for either secure HTTPS or non-secure HTTP operation.

Before configuring the web server, please note the following:

❑ You cannot use this command when the web server is enabled.

You must first disable the web server before making changes. To
disable the server, refer to DISABLE HTTP SERVER on page 349.

❑ To configure the web server for the HTTPS secure mode, you must

first create an encryption key and a certificate, and add the
certificate to the certificate database. The management software
will not allow you to configure the web server for the secure
HTTPS mode until those steps have been completed.