Promotic
WikipediaLinkedInYoutubeTwitterFacebook

PmHttpConfig.exe - configuration of HTTP service for PROMOTIC WEB servers (HTTP or HTTPS)

In order to use the HTTP service (for HTTP protocol, but especially for HTTPS protocol) it is necessary to configure the OS Windows. The HTTP service is integrated in the OS Windows and there are OS Windows tools and commands for configuration. However using the OS Windows tools for HTTP service configuration is not easy, because it is necessar to use multiple tools and command line commands. In order to simplify the configuration for PROMOTIC users, we provide the PmHttpConfig.exe (\Pm\Tools\PmHttpConfig\PmHttpConfig.exe) HTTP service configuration utility. This utility allows complete service configuration, from permission settings for PROMOTIC system to access the HTTP service, to import and management of HTTPS certificates.
 

1. Permissions to run PROMOTIC WEB servers (HTTP or HTTPS)

In order to communicate with the HTTP service, the Windows user, in whose context the PROMOTIC application with WEB server is running, must have the corresponding permissions. Each Windows application is running in context of some Windows user (most commonly the user that is currently logged in and launched the application). Administrators group members always have the permission to run the HTTP service, therefore it is not necessary to authorize it. Other users must be authorized namely.

For each WEB server running on current computer (protocol, domain, port and relative path) there must be a list of authorized Windows groups and users. The configurator is therefore represented by a list of WEB servers authorized on current computer based on the HTTP service. Each row represents one configured and enabled WEb server. The present row does not mean that the WEB server is currently running. The row means, that the WEb server (on specified address, port and protocol) is allowed to run. The WEb server itself is launched by the corresponding application, e.g. PROMOTIC application. Caution! In the OS Windows, there is a number of system configured WEB servers, that are in the list and it is not recommended to delete them without the exact knowledge.

The corresponding buttons can be used for adding, editing and deleting configured WEB servers.

"WEB server" tab:
The tab is used for configuration of the corresponding WEB server. The typical WEB server configuration is http://+:80/ and https://+:443/.
WEB server Configured WEb server written in the syntax that is used by the HTTP service. The value cannot be directly edited, but is created by following configurators.
ProtocolDefines the WEB server protocol type (HTTP or HTTPS).
DomainDefines the domain (by computer name, IP address or additional characters + and *) of the WEB server.
(+) All domains (strong wildcard) (recommended value) - All possible domains in the context of this protocol, port and relative path. Together with empty relative path, this is a recommended setting, that ensures that there is only one WEB server running on a single TCP port.
(*) Other domains (weak wildcard) - Domains in the context of this protocol, port and relative path, that have not been asociated so far.
Explicit domain name - Specific domain name entered in the next configurator.
TCP portDefines the TCP port of the WEB server. For example 443.
Relative pathDefines the relative path of WEB server beginning with regard to domain and port. It is possible to define that the WEB server does not start by the domain root and port, but in some subdirectory of domain and port. This way it is possible to use one domain and port by multiple WEB servers (and applications) simultaneously. By default this is an empty value, which means that the WEB server begins in the root of the domain and port, and the WEB request for domain and port is processed by this WEB server. Caution! For PROMOTIC web server, it is necessary to leave the value blank, because the current PROMOTIC web server must start by the domain root and port.
"Permissions" page:
This page is used for defining the Windows users or groups authorized to run the corresponding WEB server. This is a standard OS Windows tab for setting the user/group permissinons (e.g. file acces rights setup etc.). Typical authorization setting for WEB server is all allowed (Execute and Delegate) for Promotic users. Use the "Edit" button to modify the settings.
Group name or user nameA list of Windows users or groups and their permissions to run the WEB server. It is necessary to enter the specific Windows user that will be running the PROMOTIC application with WEB server. For example SafeOper component recommends the Promotic user.
Permissions for...Allows to define the permissions to Execute and Delegate the current WEB server for a specific Windows user or group, selected in the previous configurator (e.g. user Promotic). When setting up the permissions it is recommended to always set both setting Execute and Delegate accordingly.

2. Certificates of PROMOTIC WEB servers (HTTPS)

IN order to configure the HTTP service so the WEB server communicates by the HTTPS protocol, the digital certificate is needed, to sign the computer domain with running HTTPS WEB server. See HTTPS - secured HTTP protocol.

For each HTTPS WEB server running on the computer (IP address, port) a corresponding certificate must be set, in order to sign the domain with HTTPS WEB server and enable the SSL/TLS encryption of communication. The configurator is represented by a list of HTTPS WEB servers authorized on current computer, that are based on the HTTP service. Each row represents one configured and enabled WEb server. The present row does not mean that the WEB server is currently running. The row means, that the WEb server (on specified address, port and protocol) is allowed to run. The WEb server itself is launched by the corresponding application, e.g. PROMOTIC application.

The corresponding buttons can be used for adding, editing and deleting configured WEB servers.

"WEB server" tab:
The tab is used for configuration of the corresponding HTTP WEB server including the certificate setup.
Any IP addressIf checked then the WEb server listens on all IP addresses of the computer (both IPv4 and IPv6) and the following configurators for IP address setup are disabled. If not checked then the WEb server listens only on a specific address, that is efined by following configurators.
IP address typeDefines the IP address type of the WEb server: IPv4 or IPv6.
IP addressHTTPS WEB server own IP address. The address format must comply with the selected IP address type (IPv4 or IPv6). For example "192.168.1.2", "fe80:0000:0000:0000:0202:b3ff:fe1e:8329", "fe80:0:0:0:202:b3ff:fe1e:8329", "fe80::202:b3ff:fe1e:8329", "::1"
TCP portDefines the TCP port of the WEB server. For example 443.
Available certificatesA complete list of certificates stored in OS Windows storage. It is necessary to pick one certificate (left checkbox) and bind it with the corresponding IP address and TCP protocol.

The configurator also enables certificate management for the computer. The certificates can be imported and deleted. The advantage of importing such certificate in this configurator is that the certificate is imported into the Windows Registry into the computer branch and is therefore visible for the HTTP service. Caution! If the certificate is imported the default way (by clicking the certificate file in OS Windows) the certificate is imported only to the branch of current user and will not be visible for the HTTP service.

Navigation:
 
- Web
 
- PmHttpConfig.exe - configuration of HTTP service
 
 
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice