Preparing and running user identity service components on a device

You need to add the files (certificates and configuration files) for each component to the corresponding separate directory. After that, you can load component containers to Docker and run them using the Docker Compose tool. For more information about the tool, refer to the official Docker Compose documentation.

Docker containers of the user identity server components are included in the distribution kit of Kaspersky NGFW.

To start the components of the user identity service:

  1. Install Docker and Docker Compose by running the following command:

    apt install -y docker.io docker-compose-v2

  2. Create directories to store configuration files and certificates for the user identity service components by running the following commands:

    mkdir -p /var/lib/uaws/collector/ssl

    mkdir -p /var/lib/uaws/mapapp/ssl

    mkdir -p /var/lib/uaws/groupapp/ssl

  3. Prepare the configuration files:
    • For the Collector component: move the collector_config.yml file to the /var/lib/uaws/collector directory.
    • For the MapApp component: move the mapapp_config.yml file to the /var/lib/uaws/mapapp directory.
    • For the GroupApp component: move the groupapp_config.yml file to the /var/lib/uaws/groupapp directory.
  4. Place the certificates created earlier in their appropriate component directories:
    • For the Collector component: copy the root certificate ca.p12 and the user certificate uaws.p12 to the /var/lib/uaws/collector/ssl directory.
    • For the MapApp component: copy the root certificate ca.p12 and the user certificate uaws.p12 to the /var/lib/uaws/mapapp/ssl directory.
    • For the GroupApp component: copy the root certificate ca.p12 and the user certificate uaws.p12 to the /var/lib/uaws/groupapp/ssl directory.
  5. Load containers of the user identity server components to Docker from the archives that are included in the Kaspersky NGFW distribution kit:
    • For the Collector component, run the following command:

      sudo docker load -i <path to archive>/uaws-collector-<version>.cis.amd64_en-US_ru-RU.tgz

    • For the MapApp component, run the following command:

      sudo docker load -i <path to archive>/uaws-mapapp-<version>.cis.amd64_en-US_ru-RU.tgz

    • For the GroupApp component, run the following command:

      sudo docker load -i <path to archive>/uaws-groupsapp-<version>.cis.amd64_en-US_ru-RU.tgz

  6. In the /var/lib/uaws/ directory, create the docker-compose.yml file and copy the component configuration to this file, substituting the necessary values.

    Contents of the docker-compose.yml file

  7. Start the user identity service components by running the following command:

    docker-compose -f /var/lib/uaws/docker-compose up -d

This completes the deployment of the user identity service on a single device. You can use the user identity functionality in Kaspersky NGFW.

Page top