Web Server Settings

Web Server Settings

The following values of the querytype field are used to manage the settings of the web server:

  • gethttpd - get the parameters of the web server;

  • sethttpd - set the parameters of the web server

    • noreboot - if the key is equal to "1", then the reboot, after the configuration of the settings, will not be performed;

    • ssl - channel encryption:

      • "false" - turned off, http;

      • "true" - enabled, https;

    • port - the port.

 

To create self-signed certificate for HTTPS the next command can be used:

  • makecerthttps - to internally create self-signed certificate for 10 years to current IP address as "CommonName" attribute, returns the response as:

<makecerthttps https_cert="internal_22.01.2023.pem" https_key="internal_22.01.2023.key" />

where:

  • https_cert - the name of new certificate file;

  • https_key - the name of new key file.

The command may take a few seconds to complete (5 - 15 seconds).