For installing Kaspersky Security Center Web Console Server on devices running Linux, you must create a response file—a .json file that contains parameters for connecting Kaspersky Security Center Web Console to the Administration Server. You must name this file ksc-web-console-setup.json and place it in the /etc/ksc-web-console-setup.json directory.
The set of parameters of the response file depends on the version of the Administration Server to which the Kaspersky Security Center Web Console connects.
Administration Server version 16 or later includes Identity and Access Manager (IAM) that is provided domain authentication with single sign-on (SSO) in Kaspersky Security Center Web Console. For Kaspersky Security Center Web Console to connect to Administration Server, the response file must contain the parameters for interacting with the IAM component, even if you do not use single sign-on (SSO).
Example of the response file for installing Web Console that will connect to Administration Server version 16 or later. In this example, Web Console and Administration Server are installed on different devices:
{
"address": "ksc-web-console.example.com",
"port": 8080,
"defaultLangId": 1049,
"enableLog": true,
"trusted": {
"Administration Server v16": {
"iamHost": "ksc16.example.com",
"iamOAuthPort": 4444,
"iamProxyPort": 9050,
"iamCertPath": "/var/opt/kaspersky/klnagent_srv/iam/main_certificate.pem",
"iamPATPath": "/var/opt/kaspersky/klnagent_srv/iam/initial_token.txt",
"kscPort": 13299,
"kscCertPath": "/var/opt/kaspersky/klnagent_srv/1093/cert/klserver.cer"
}
"acceptEula": true,
"certPath": "/root/server.crt",
"keyPath": "/root/key-without-passphrase.pem",
"webConsoleAccount": "<Group1:User1>",
"managementServiceAccount": "<Group1:User2>",
"serviceWebConsoleAccount": "<Group1:User3>",
"pluginAccount": "<Group1:User4>",
"messageQueueAccount": "<Group1:User5>",
"natsMessageQueueAccount": "Group1:User6"
}
Administration Server 15.4 or earlier only supports authentication by specifying the name and password of the internal user or the domain user.
Example of the response file for installing Web Console that will connect to Administration Server version 15.4 or earlier:
{
"address": "ksc-web-console.example.com",
"port": 8080,
"defaultLangId": 1049,
"enableLog": true,
"trusted": {
"Administration Server v15.4": {
"kscHost": "ksc.example.com",
"kscPort": 13299,
"kscCertPath": "/var/opt/kaspersky/klnagent_srv/1093/cert/klserver.cer"
}
},
"acceptEula": true,
"certPath": "/root/server.crt",
"keyPath": "/root/key-without-passphrase.pem",
"webConsoleAccount": "<Group1:User1>",
"managementServiceAccount": "<Group1:User2>",
"serviceWebConsoleAccount": "<Group1:User3>",
"pluginAccount": "<Group1:User4>",
"messageQueueAccount": "<Group1:User5>",
"natsMessageQueueAccount": "<Group1:User6>"
}
The webConsoleAccount, managementServiceAccount, serviceWebConsoleAccount, pluginAccount, messageQueueAccount, natsMessageQueueAccount, certPath, and keyPath parameters are optional. You can omit these parameters in the response file.
If you want to use a custom certificate, specify both the certPath and keyPath parameters. If you do not specify the parameters or specify only one, the web browser keeps informing you that your connection is not private.
For security reasons, we do not recommend specifying the webConsoleAccount, managementServiceAccount, serviceWebConsoleAccount, pluginAccount, messageQueueAccount, and natsMessageQueueAccount parameters.
If you decide to specify these parameters, make sure that the custom user accounts belong to the same security group. When the parameters are not specified, the Kaspersky Security Center Web Console installer creates a default security group, and then creates user accounts with default names in this group.
The webConsoleAccount, managementServiceAccount, serviceWebConsoleAccount, pluginAccount, messageQueueAccount, and natsMessageQueueAccount parameters must not be used separately from each other: specify the values either for all of these parameters, or for none of them.
You can install the Kaspersky Security Center Web Console either on the same device as the Administration Server or on a separate device. When installing Kaspersky Security Center Web Console to an external device, the Kaspersky Security Center Web Console (specified by address) and Administration Server address (specified by iamHost or kscHost) are different, otherwise these parameters have the same values.
We recommend that you specify port numbers above 1024. If you want Kaspersky Security Center Web Console to work on ports below 1024, after installation you have to run the following command:
sudo setcap 'cap_net_bind_service=+ep' /var/opt/kaspersky/ksc-web-console/node
If you do not have the setcap utility, you can install it. Click this link to view the commands.
When you install Kaspersky Security Center Web Console on the Linux ALT operating system, you must specify a port number other than 8080, because port 8080 is used by the operating system.
The table below describes the parameters that can be specified in a response file.
Parameters for installing Kaspersky Security Center Web Console on devices running Linux
Parameter |
Description |
Available values |
|---|---|---|
|
Address of the device (FQDN or host name) where Kaspersky Security Center Web Console is installed (required). If you install Kaspersky Security Center Web Console on Kaspersky Security Center Server, use the address that you specified when installing Kaspersky Security Center Linux. If you install Kaspersky Security Center Web Console on an external device, specify the device external address (FQDN or host name) to be used by the web browser for connecting to Kaspersky Security Center Web Console Server. |
String value. Example: |
|
Port used by Kaspersky Security Center Web Console to receive connections from web browsers (required). |
Numerical value. The recommended value is 8080 (except for the Linux ALT operating system). |
|
Language of user interface (by default, If necessary, you can change the language of Kaspersky Security Center Web Console interface. |
Numerical code of the language:
If no value is specified, then English (en-US) language is used. |
|
Whether or not to enable Kaspersky Security Center Web Console trace logging. We recommend that you change the default value for the parameter only if a Kaspersky Technical Support specialist requests. |
Boolean value:
|
|
List of addresses of trusted Administration Servers that Kaspersky Security Center Web Console can connect to. You can add multiple Administration Servers of different versions to the list of trusted servers. For Administration Server version 16 or later:
For Administration Server version 15.4 or earlier:
When installing Kaspersky Security Center Web Console to an external device, copy the Administration Server certificate file (specified by |
A section of the JSON file in the following format: "trusted": { "Administration Server v16": { "iamHost": "ksc-iam.example.com", "iamOAuthPort": 4444, "iamProxyPort": 9050, "iamCertPath": "/var/opt/kaspersky/klnagent_srv/iam/main_certificate.pem", "iamPATPath": "/var/opt/kaspersky/klnagent_srv/iam/initial_token.txt", "kscPort": 13299, "kscCertPath": "/var/opt/kaspersky/klnagent_srv/1093/cert/klserver.cer" }, "Administration Server v15.4": { "kscHost": "ksc.example.com", "kscPort": 13299, "kscCertPath": "/var/opt/kaspersky/klnagent_srv/1093/cert/klserver.cer" } } |
|
Whether or not you want to accept the terms of the End User License Agreement (EULA). The file containing the terms of the EULA is downloaded together with the installation file. |
Boolean value:
If no value is specified, the Kaspersky Security Center Web Console installer shows you the EULA and asks whether or not you agree to accept the terms of the EULA. |
|
If you want to generate a new self-signed certificate, use this parameter to specify the FQDN for connecting web browser to Kaspersky Security Center Web Console. |
String value. |
|
Use the parameter to specify the path to the Kaspersky Security Center Web Console custom certificate that is trusted in your infrastructure and meets the requirements for custom certificates. You can specify only one private key ( |
String value. Encrypted certificates are not supported by Kaspersky Security Center Web Console. On the device where Kaspersky Security Center Web Console is to be installed, specify the path to the certificate file in the PEM format. Example: |
|
Use the parameter to specify the path to the private key associated with the Kaspersky Security Center Web Console custom certificate specified in |
String value. The file with the private key must not be encrypted. On the device where Kaspersky Security Center Web Console is to be installed, specify the path to key file in the PEM format. Example: |
|
Name of the account under which the Kaspersky Security Center Web Console service is run. |
String value in the following format: Example: If no value is specified, the Kaspersky Security Center Web Console installer creates a new account with the default name |
|
Name of the account under which the Kaspersky Security Center Web Console Management Service is run. |
String value in the following format: Example: If no value is specified, the Kaspersky Security Center Web Console installer creates a new account with the default name |
|
Name of the account under which the Kaspersky Security Center Web Console service is run. |
String value in the following format: Example: If no value is specified, the Kaspersky Security Center Web Console installer creates a new account with the default name |
|
Name of the account under which the Kaspersky Security Center Product Plugins service is run. |
String value in the following format: Example: If no value is specified, the Kaspersky Security Center Web Console installer creates a new account with the default name |
|
Name of the account under which the Kaspersky Security Center Web Console Message Queue service is run. |
String value in the following format: Example: If no value is specified, the Kaspersky Security Center Web Console installer creates a new account with the default name |
|
Name of the account under which the Kaspersky Security Center Web Console NATS service is run. |
String value in the following format: Example: If no value is specified, the Kaspersky Security Center Web Console installer creates a new account with the default name |