Set http server – Allied Telesis AT-S63 User Manual

Page 371

Advertising
background image

AT-S63 Management Software Command Line Interface User’s Guide

371

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. The
options 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 368.

❑ 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.

Examples

The following command configures the web server for the non-secure
HTTP mode. Since no port is specified, the default HTTP port 80 is used:

Advertising