Encryption key kl_scanengine_db.key

You need an encryption key to encrypt data (usernames and passwords) with the kav_encrypt utility.

To prepare an encryption key for use:

  1. Generate the encryption key as follows:

    openssl rand -out %service_dir%/httpsrv/kl_scanengine_db.key 512

  2. Make sure all users have read permissions to the kl_scanengine_db.key file.
  3. If you use the kse_docker_control.sh script to run containers, open kse_docker_control.sh for editing, and then specify the path to kl_scanengine_db.key in the KEY_FILE_DIRECTORY parameter.

    Example of the parameter:

    KEY_FILE_DIRECTORY=/opt/kaspersky/ScanEngine/httpsrv/

    If you do not use the kse_docker_control.sh script, you need to specify the parameter for mounting kl_scanengine_db.key to the /opt/kaspersky/ScanEngine/httpsrv directory inside the container each time you run the container.

    Example of the command:

    docker run -d -p 8080:8443 -p 8085:9998 -v %CONFIGURATION_FILES_DIRECTORY%:/tmp/scanengine/mounted/configs -v %LICENSE_FILE_DIRECTORY%:/tmp/scanengine/mounted/lic -v /opt/kaspersky/ScanEngine/httpsrv/:/tmp/scanengine/mounted/key --name ScanEngine kaspersky/scanengine:%KSE_VERSION%

Page top