Manually editing Kaspersky Scan Engine configuration file

This section describes the Kaspersky Scan Engine configuration file.

The Kaspersky Scan Engine configuration file is an XML file named klScanEngineUI.xml. It resides in the etc subdirectory of the Kaspersky Scan Engine installation directory.

The table below describes the elements of the Kaspersky Scan Engine configuration file.

Scan Engine configuration file elements

Element

Description

EULA/Common

Specifies whether the End User License Agreement (EULA) for Kaspersky Scan Engine is accepted:

  • accepted—EULA for Kaspersky Scan Engine is accepted.
  • rejected—EULA for Kaspersky Scan Engine is not accepted.

EULA/KSN

Specifies whether the EULA for Kaspersky Security Network (KSN) is accepted:

  • accepted—EULA for KSN is accepted.
  • rejected—EULA for KSN is not accepted.

ServerSettings/EnableUI

Specifies whether the web service that implements Kaspersky Scan Engine GUI must be turned on:

  • 0 (or false)—Web Service will not be initialized.

    In this case all the settings in the ServerSettings and DatabaseSettings elements do not affect anything.

  • 1 (or true)—An attempt to initialize Web Service will be made.

ServerSettings/Mode

Kaspersky Scan Engine mode:

  • httpd—Kaspersky Anti-Virus Engine will be initialized as HTTPD.
  • icap—Kaspersky Anti-Virus Engine will be initialized as an ICAP plug-in.

ServerSettings/ConnectionString

IP address (or host) and port at which Kaspersky Scan Engine GUI will be available.

You must access Kaspersky Scan Engine GUI from a computer on which Kaspersky Scan Engine is installed. In this case the Kaspersky Scan Engine documentation will also be available for you.

ServerSettings/SSLCertificatePath

Path to a Kaspersky Scan Engine certificate in PEM format.

This can be either absolute or a relative path. A relative path is calculated relative to the Kaspersky Scan Engine binary file.

ServerSettings/SSLPrivateKeyPath

Path to a Kaspersky Scan Engine private key in PEM format.

This can be either absolute or a relative path. A relative path is calculated relative to the Kaspersky Scan Engine binary file.

ServerSettings/TemplatesPath

Path to the directory in which the templates for Kaspersky Scan Engine GUI are stored.

This can be either absolute or a relative path. A relative path is calculated relative to the Kaspersky Scan Engine binary file.

DatabaseSettings/ConnectionString

IP address and port at which the database that Kaspersky Scan Engine uses for storing data is available.

DatabaseSettings/User

Encrypted user name used to authenticate in the database that Kaspersky Scan Engine uses for storing data. The user name is encrypted by the kav_encrypt utility.

DatabaseSettings/Password

Encrypted password used to authenticate in the database that Kaspersky Scan Engine uses for storing data. The password is encrypted by the kav_encrypt utility.

Below is an example of the Kaspersky Scan Engine configuration file.

<Settings>

<EULA>

<Common>rejected</Common>

<KSN>rejected</KSN>

</EULA>

<ServerSettings>

<EnableUI>true</EnableUI>

<Mode>httpd</Mode>

<ConnectionString>127.0.0.1:9443</ConnectionString>

<SSLCertificatePath>../ssl/cert.pem</SSLCertificatePath>

<SSLPrivateKeyPath>../ssl/priv.pem</SSLPrivateKeyPath>

<TemplatesPath>../httpsrv/templates/</TemplatesPath>

</ServerSettings>

<DatabaseSettings>

<ConnectionString>10.65.81.3:8443</ConnectionString>

<User>=a3Afasd+</User>

<Password>=df2AfBB1</Password>

</DatabaseSettings>

</Settings>

Page top