Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space DML and version 7.21
Sv translation
languageru

На сервере

Multiexcerpt include
MultiExcerptNameDM_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
для повышения безопасности реализована возможность проверки сертификатов удаленных серверов. Данная проверка позволяет установить подлинность удаленного сервера при подключении к нему.

Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source
осуществляет проверку следующих сертификатов:

  • сертификата службы XAPI – при подключении к серверу 
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    для отправки событий
  • сертификата веб-сервера 
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    (сертификат TMConfig) – при подключении к серверу
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    для синхронизации политик защиты данных
  • сертификата службы EPEVENTS – при подключении к серверу Платформы для отправки событий 

Чтобы успешно подключиться к удаленному серверу для отправки событий:

  1. Настройте проверку сертификатов на сервере
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    ;
  2. На сервере
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    установите корневой сертификат удаленного сервера в хранилище корневых сертификатов уровня "локальный компьютер".

Чтобы успешно подключиться к серверу

Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
для синхронизации политик защиты данных:

  1. Настройте проверку сертификатов на сервере
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    ;
  2. В центре сертификации вашей компании выпустите сертификат X.509 для веб-сервера
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    ;
  3. Настройте работу веб-сервера
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    с выпущенным сертификатом;
  4. Установите корневой сертификат веб-сервера

    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    в хранилище корневых сертификатов уровня "локальный компьютер" на сервере
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    .

    Предупреждение
    titleВажно!

    Если вы не выполните шаги 2-4, то необходимо отключить проверку сертификата веб-сервера

    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Соединение с сервером
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    будет защищено протоколом TLS, но сервер
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    не сможет удостовериться, что он подключился к нужному серверу
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    .

Проверка сертификатов удаленных серверов при установлении SSL-сессии

Чтобы настроить проверку сертификатов удаленных серверов при установлении SSL-сессии, установите значение True или False для следующих полей таблицы Settings в базе данных сервера

Multiexcerpt include
MultiExcerptNameDM_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
:

  • IGNORE_SSLERR_TMXAPI_CONNECTION – игнорировать проверку сертификата службы XAPI
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    ;
  • IGNORE_SSLERR_TMCONFIG_CONNECTION – игнорировать проверку сертификата TMConfig
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    ;
  • IGNORE_SSLERR_PLATFORM_CONNECTION – игнорировать проверку сертификата службы EPEVENTS Платформы.

При значении False проверка сертификата будет выполняться.

Значение поля IGNORE_SSLERR_TMXAPI_CONNECTION по умолчанию:

  • при первичной установке сервера
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    – False, т.е. проверка сертификата службы XAPI
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    включена;
  • при обновлении сервера
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    версии 7.9 и ниже – True, т.е. проверка выключена;
  • при обновлении сервера

    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    версии 7.10 и выше – значение остается равным тому, что было до обновления.

Значение поля IGNORE_SSLERR_TMCONFIG_CONNECTION по умолчанию:

  • при первичной установке сервера
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    – False, т.е. проверка сертификата веб-сервера
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    включена;
  • при обновлении сервера
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    – True, т.е. проверка выключена.

Значение поля IGNORE_SSLERR_PLATFORM_CONNECTION по умолчанию:

  • при первичной установке сервера
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    – True, т.е. проверка сертификата службы EPEVENTS Платформы выключена;
  • при обновлении сервера
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    версии 7.9 и ниже – True, т.е. проверка выключена;
  • при обновлении сервера

    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    версии 7.10 и выше – значение остается равным тому, что было до обновления.

Если значения параметров IGNORE_SSLERR_TMXAPI_CONNECTION, IGNORE_SSLERR_TMCONFIG_CONNECTION и IGNORE_SSLERR_PLATFORM_CONNECTION были изменены, то чтобы правила проверки сертификатов удаленных серверов вступили в силу, перезапустите службу сервера

Multiexcerpt include
MultiExcerptNameDM_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
.

Установка сертификата службы XAPI
Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse

Чтобы установить сертификат службы XAPI

Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
:

  1. На сервере
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    откройте файл /opt/iw/tm5/etc/xapi.conf.
  2. В секции ThriftServers -> xapi найдите параметр TrustedCertificatesPath.
    В значении данного параметра указаны путь к файлу корневого сертификата и его имя. Если указан относительный путь, то его необходимо рассматривать от каталога /opt/iw/tm5.
    Значение параметра TrustedCertificatesPath по умолчанию: /opt/iw/tm5/etc/cert/trusted_certificates.
  3. Скопируйте корневой сертификат на компьютер, где установлен или будет установлен сервер
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    . Если вы будете использовать или установили сервер
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    в окружении Docker, скопируйте его в директорию /opt/iw/dmserver/cert. Не перемещайте файл сертификата в другие директории в течение всего времени работы и функционирования сервера 
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    .
  4. Перейдите в директорию, куда был скопирован корневой сертификат. При использовании Docker – в директорию /opt/iw/dmserver/cert.
  5. Переименуйте корневой сертификат в tmca.crt.
  6. Введите команды в зависимости от операционной системы и использования контейнеризации, в среде которой производится установка корневого сертификата:
    • Для операционной системы РЕД ОС:

      Блок кода
      languagetext
      sudo cp tmca.crt /etc/pki/ca-trust/source/anchors/
      sudo update-ca-trust
      sudo update-ca-trust extract
    • Для операционной системы РЕД ОС с использованием Docker:

      Блок кода
      sudo cp tmca.crt /opt/iw/dmserver/cert
    • Для операционной системы Альт:

      Блок кода
      languagetext
      su -
      cp tmca.crt /etc/pki/ca-trust/source/anchors/
      update-ca-trust
    • Для операционной системы Альт с использованием Docker:

      Блок кода
      su -
      cp tmca.crt /opt/iw/dmserver/cert
    • Для операционной системы Astra Linux:

      Блок кода
      languagetext
      sudo cp tmca.crt /usr/local/share/ca-certificates/tmca.crt
      sudo update-ca-certificates
    • Для операционной системы Astra Linux с использованием Docker:

      Блок кода
      sudo cp tmca.crt /opt/iw/dmserver/cert/tmca.crt

      Выполнение команд может занять некоторое время.


  7. Перезапустите службу сервера iwdms:

    Блок кода
    systemctl restart iwdms

Установка сертификата веб-сервера
Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source

Чтобы установить сертификат веб-сервера

Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source
:

  1. Откройте Консоль управления
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    в браузере. 
  2. Экспортируйте сертификат веб-сервера
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    из браузера, в нашем примере Google Chrome. Для этого:
    1. В левой части адресной строки нажмите Сведения о сайте.
    2. Нажмите Показать сертификат.
    3. В Инструменте просмотра сертификатов откройте вкладку Подробнее.
    4. Нажмите Экспорт.
    5. Нажмите Сохранить.
  3. Скопируйте корневой сертификат на компьютер, где установлен или будет установлен сервер
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    .
  4. Перейдите в директорию, куда был скопирован корневой сертификат.
  5. Выполните шаг 6 инструкции по установке сертификата службы XAPI
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    , описанной выше, используя вместо tmca.crt имя скопированного ранее корневого сертификата веб-сервера
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    .

Установка сертификата службы EPEVENTS Платформы

Чтобы установить сертификат службы EPEVENTS Платформы:

  1. На сервере Платформы получите корневой сертификат plca.crt с помощью команды:

    Блок кода
    languagetext
    kubectl get secret -n infowatch epeventskeys-central -o 'go-template={{index .data "tls.crt"}}' | base64 -d > plca.crt

    Если сервер Платформы не является центральным в кластере, то команда будет иметь вид:

    Блок кода
    languagetext
    kubectl get secret -n infowatch epeventskeys-<node label> -o 'go-template={{index .data "tls.crt"}}' | base64 -d > plca.crt

    где <node label> – это имя серверной ноды.

  2. Скопируйте корневой сертификат на компьютер, где установлен или будет установлен сервер
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    .
  3. Перейдите в директорию, куда был скопирован корневой сертификат.
  4. Выполните шаг 6 инструкции по установке сертификата службы XAPI
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    , описанной выше, используя вместо tmca.crt имя скопированного ранее корневого сертификата Платформы.

Выполнение команд может занять некоторое время.

Просмотр логов

Если сервер

Multiexcerpt include
MultiExcerptNameDM_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
не сможет проверить сертификат, в логах появится ошибка с указанием сертификата и его статуса:

Блок кода
languagetext
Can't validate TmXapi certificate. Chain error: Certificate thumbprint: <thumbprint> Subject: CN=XAPI, OU=TD, O=InfoWatch, S=Moscow, C=RU

UntrustedRoot Цепочка сертификатов обработана, но обработка прервана на корневом сертификате, у которого отсутствует отношение доверия с поставщиком доверия.

Certificate thumbprint: <thumbprint> Subject: CN=XAPI, OU=TD, O=InfoWatch, L=Moscow, S=Moscow, C=RU

UntrustedRoot Цепочка сертификатов обработана, но обработка прервана на корневом сертификате, у которого отсутствует отношение доверия с поставщиком доверия.

Интервал между отправкой сообщений об ошибках в лог определяется значениями полей WRITE_SSLVERIFY_TMXAPI_LOG_INTERVAL, WRITE_SSLVERIFY_TMCONFIG_LOG_INTERVAL и WRITE_SSLVERIFY_PLATFORM_LOG_INTERVAL таблицы Settings базы данных сервера

Multiexcerpt include
MultiExcerptNameDM_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
. По умолчанию эти значения равны 3600 секунд. Если сертификат удаленного сервера повторно не пройдет проверку и с момента последней отправки сообщения об ошибке прошло меньше указанного времени, то новое сообщение об ошибке отправлено не будет.

Чтобы просмотреть логи:

  1. Перейдите в каталог /opt/iw/dmserver/log.
  2. Откройте файл iwdms-<date>.txt, где <date> – это дата в формате YYYYMMDD.
Sv translation
languageen

The ability to verify the certificates of remote servers is implemented on the

Multiexcerpt include
MultiExcerptNameDM_Short_Name
PageWithExcerptExcerpt Source
useIncluderPageContexttrue
server to enhance security. With this verification, you can ensure the authenticity of the remote server when connecting to it.

Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source
useIncluderPageContexttrue
verifies the following certificates:

  • XAPI service certificate – when connecting to the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server to send events;
  • certificate of the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    web server (TMConfig certificate) – when connecting to the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server for synchronization of data protection policies;
  • EPEVENTS service certificate – when connecting to the Platform server to send events. 

To successfully connect to a remote server to send events:

  1. Configure certificate verification on the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server.
  2. On the
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server, install the root certificate of the remote server in the root certificate store at the "local computer" level.

To successfully connect to the

Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source
useIncluderPageContexttrue
server for synchronizing data protection policies:

  1. Configure certificate verification on the
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    shouldDisplayInlineCommentsInIncludesfalse
    server.
  2. At your company's certification center, issue an X.509 certificate for the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
     web server.
  3. Configure the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    web server to work with the issued certificate.
  4. Install the

    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    web server's root certificate at the "local computer" level root certificate store on the
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server.

    Предупреждение
    titleImportant!

    If you do not perform steps 2–4, then you need to disable the verification of the

    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    web server certificate. Connection with the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server will be protected with the TLS protocol, but the 
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server will not be able to verify that it has connected to the right
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server.

Verifying the certificates of remote servers when establishing an SSL session

To configure the verification of remote server certificates when establishing an SSL session, set the value to True or False for the following fields in the Settings table in the

Multiexcerpt include
MultiExcerptNameDM_Short_Name
PageWithExcerptExcerpt Source
useIncluderPageContexttrue
server database:

  • IGNORE_SSLERR_TMXAPI_CONNECTION – ignore the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    XAPI service certificate verification;
  • IGNORE_SSLERR_TMCONFIG_CONNECTION – ignore the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    TMConfig certificate verification;
  • IGNORE_SSLERR_PLATFORM_CONNECTION – ignore the certificate verification for the EPEVENTS Platform service.

If the value is False, the certificate will be verified.

The default value of the IGNORE_SSLERR_TMXAPI_CONNECTION field:

  • during the initial
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server installation – False, meaning that the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    XAPI service certificate verification is enabled;
  • when updating the
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server version 7.9 and below – True, meaning that the check is disabled;
  • when updating the

    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server version 7.10 or higher, the value remains the same as it was before the update.

The default value of the IGNORE_SSLERR_TMCONFIG_CONNECTION field:

  • during the initial
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server installation – False, meaning that the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
     web server certificate verification is enabled;
  •  when updating the
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server – True, meaning that the verification is disabled.

 The default value of the IGNORE_SSLERR_PLATFORM_CONNECTION field:

  • during the initial
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server installation – True, meaning that the certificate verification is disabled for the EPEVENTS Platform service;
  • when updating the
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server versions 7.9 and below – True, meaning that the check is disabled;
  • when updating the

    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    version 7.10 and above, the value remains the same as it was before the update.

If the values of the parameters IGNORE_SSLERR_TMXAPI_CONNECTION, IGNORE_SSLERR_TMCONFIG_CONNECTION, and IGNORE_SSLERR_PLATFORM_CONNECTION were changed, then to make the certificate verification rules for remote servers take effect, restart the

Multiexcerpt include
MultiExcerptNameDM_Short_Name
PageWithExcerptExcerpt Source
useIncluderPageContexttrue
server service.

Installing the
Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source
useIncluderPageContexttrue
XAPI service certificate

To install the

Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source
shouldDisplayInlineCommentsInIncludesfalse
XAPI service certificate:

  1. On the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
     server, open the file /opt/iw/tm5/etc/xapi.conf.
  2. In the section ThriftServers -> xapi,find the parameter TrustedCertificatesPath.
    The value of this parameter specifies the path to the root certificate file and its name. If a relative path is specified, it needs to be interpreted relative to the /opt/iw/tm5 folder.
    The default value of the parameter TrustedCertificatesPath is: /opt/iw/tm5/etc/cert/trusted_certificates.
  3. Copy the root certificate to the computer where the
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server is installed or will be installed. If you will be using or have installed the
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server in a Docker environment, copy it to the /opt/iw/dmserver/certdirectory. Do not move the certificate file to other directories during the entire operation and functioning of the
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server.
  4. Go to the directory where the root certificate was copied. When using Docker – to the /opt/iw/dmserver/cert directory.
  5. Rename the root certificate to tmca.crt.
  6. Enter the commands depending on the operating system and the use of containerization in the environment where the root certificate is being installed:
    • For RED OS:

      Блок кода
      languagetext
      sudo cp tmca.crt /etc/pki/ca-trust/source/anchors/
      sudo update-ca-trust
      sudo update-ca-trust extract
    • For RED OS using Docker:

      Блок кода
      sudo cp tmca.crt /opt/iw/dmserver/cert
    • For ALT OS:

      Блок кода
      languagetext
      su -
      cp tmca.crt /etc/pki/ca-trust/source/anchors/
      update-ca-trust
    • For ALT OS using Docker:

      Блок кода
      su -
      cp tmca.crt /opt/iw/dmserver/cert
    • For Astra Linux:

      Блок кода
      languagetext
      sudo cp tmca.crt /usr/local/share/ca-certificates/tmca.crt
      sudo update-ca-certificates
    • For Astra Linux using Docker:

      Блок кода
      sudo cp tmca.crt /opt/iw/dmserver/cert/tmca.crt

      Running the commands may take some time.


  7.  Restart the server service iwdms:

    Блок кода
    systemctl restart iwdms

 Installing the certificate of the
Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source
useIncluderPageContexttrue
 web server

 To install the certificate of the

Multiexcerpt include
MultiExcerptNameTM_Short_Name
PageWithExcerptExcerpt Source
useIncluderPageContexttrue
 web server:

  1. Open the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
     Management Console in the browser. 
  2. Export the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    web server certificate from the browser. In our example, it is Google Chrome. To do this:
    1. In the left part of the address bar, click View site Information.
    2. Click Show certificate.
    3. In the Certificate Viewer, go to the Details tab.
    4. Click Export.
    5. Click Save.
  3. Copy the root certificate to the computer where the
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server is installed or will be installed.
  4. Go to the directory where the root certificate was copied.
  5. Follow step 6 of the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    XAPI service certificate installation instructions described above, using the name of the previously copied root certificate of the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
     web server instead of tmca.crt.

Installing the EPEVENTS Platform service certificate

To install the EPEVENTS Platform service certificate:

  1. On the Platform server, get the root certificate plca.crt using the command:

    Блок кода
    languagetext
    kubectl get secret -n infowatch epeventskeys-central -o 'go-template={{index .data "tls.crt"}}' | base64 -d > plca.crt

    If the Platform server is not the central server in the cluster, the command will look like this:

    Блок кода
    languagetext
    kubectl get secret -n infowatch epeventskeys-<node label> -o 'go-template={{index .data "tls.crt"}}' | base64 -d > plca.crt

    where <node label> is the name of the server node.

  2. Copy the root certificate to the computer where the
    Multiexcerpt include
    MultiExcerptNameDM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    server is installed or will be installed.
  3. Go to the directory where the root certificate was copied.
  4. Follow step 6 of the
    Multiexcerpt include
    MultiExcerptNameTM_Short_Name
    PageWithExcerptExcerpt Source
    useIncluderPageContexttrue
    XAPI service certificate installation instructions described above, using the name of the previously copied root certificate of the Platform instead of tmca.crt.

Running the commands may take some time.

Viewing logs

If the

Multiexcerpt include
MultiExcerptNameDM_Short_Name
PageWithExcerptExcerpt Source
useIncluderPageContexttrue
server is unable to verify the certificate, an error will appear in the logs indicating the certificate and its status:

Блок кода
languagetext
Can't validate TmXapi certificate. Chain error: Certificate thumbprint: <thumbprint> Subject: CN=XAPI, OU=TD, O=InfoWatch, S=Moscow, C=RU

UntrustedRoot The certificate chain has been processed, but processing was interrupted at the root certificate, which lacks a trust relationship with the trust provider.

Certificate thumbprint: <thumbprint> Subject: CN=XAPI, OU=TD, O=InfoWatch, L=Moscow, S=Moscow, C=RU

UntrustedRoot The certificate chain has been processed, but processing was interrupted at the root certificate, which lacks a trust relationship with the trust provider.

The interval between sending error messages to the log is determined by the values of the WRITE_SSLVERIFY_TMXAPI_LOG_INTERVAL, WRITE_SSLVERIFY_TMCONFIG_LOG_INTERVAL, and WRITE_SSLVERIFY_PLATFORM_LOG_INTERVAL fields in the Settings table of the

Multiexcerpt include
MultiExcerptNameDM_Short_Name
PageWithExcerptExcerpt Source
useIncluderPageContexttrue
server database. By default, these values are set to 3600 seconds. If the remote server certificate fails the verification again and less time has passed since the last error message was sent, a new error message will not be sent.

To view the logs:

  1. Go to the folder /opt/iw/dmserver/log
  2. Open the file iwdms-<date>.txt, where <date> is the date in the YYYYMMDD format.