Changing Kaspersky Scan Engine key file or activation code in Docker

To change the Kaspersky Scan Engine key file or activation code in Docker:

  1. Place the new key file or activation code in the directory specified in %LICENSE_FILE_DIRECTORY%.
  2. Run the command:

    docker restart <container ID or name>

    You can also restart the container by using the kse_docker_control.sh script, by running sequentially stop_httpd and start_httpd for the HTTP mode, or stop_icapd and start_icapd for the ICAP mode.

  3. [Optional] To verify that the new key file or activation code has been applied:
    • In the HTTP mode, use the API method /api/v3.0/licenseinfo.
    • In the ICAP mode, use the Docker command:

      docker exec -it <container_id> bash -c 'cat /tmp/kavicapd/$(pgrep -o kavicapd).status'

Page top