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

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

Ключ

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

На сервере Device Monitor для повышения безопасности реализована возможность проверить подлинность сертификата удаленного серверапроверки сертификатов удаленных серверов. Данная проверка позволяет установить подлинность удаленного сервера при подключении к нему.

Device Monitor осуществляет проверку следующих сертификатов:

  • сертификата службы XAPI – при подключении к серверу Traffic Monitor для отправки событий;
  • сертификата веб-сервера Traffic Monitor (сертификат TMConfig) – при подключении к серверу Traffic Monitor для синхронизации политик защиты данных;
  • сертификата службы EPEVENTS – при подключении к серверу Платформы для отправки событий.

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

  1. Настройте проверку сертификатов на сервере Device Monitor.
  2. На сервере Device Monitor установите корневой сертификат удаленного сервера в хранилище корневых сертификатов уровня "локальный компьютер".

Чтобы успешно подключиться к серверу Traffic Monitor для синхронизации политик защиты данных:

  1. Настройте проверку сертификатов на сервере Device Monitor.
  2. Если вы хотите использовать встроенный сертификат веб-сервера Traffic Monitor, то перейдите к шагу 5.
  3. В центре сертификации вашей компании выпустите сертификат X.509 для веб-сервера Traffic Monitor.
  4. Настройте работу веб-сервера Traffic Monitor с выпущенным сертификатом.
  5. На сервере Device Monitor установите корневой сертификат веб-сервера Traffic Monitor в хранилище корневых сертификатов уровня "локальный компьютер".

Настройка проверки сертификатов удаленных серверов

За

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

отвечают следующие поля

:

Установите значение True или False для следующих полей таблицы Settings в базе данных сервера Device Monitor:

  • IGNORE_SSLERR_TMXAPI_CONNECTION – игнорировать проверку сертификата службы XAPI Traffic Monitor;
  • IGNORE_SSLERR_TMCONFIG_CONNECTION – игнорировать проверку сертификата TMConfig Traffic Monitor;
  • IGNORE_SSLERR_PLATFORM_CONNECTION – игнорировать проверку сертификата службы EPEVENTS Платформы.

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

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

  • при первичной установке сервера Device Monitor – False, т.е. проверка сертификата службы XAPI Traffic Monitor включена;
  • при обновлении сервера Device Monitor версии 7.9 и ниже – True, т.е. проверка выключена;
  • при обновлении сервера Device Monitor версии 7.10 и выше – значение остается равным тому, что было до обновления.

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

  • при первичной установке сервера Device Monitor – False, т.е. проверка сертификата TMConfig Traffic Monitor включена;
  • при обновлении сервера Device Monitor – True, т.е. проверка выключена.

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

  • при первичной установке сервера Device Monitor – True, т.е. проверка сертификата службы EPEVENTS Платформы выключена;
  • при обновлении сервера Device Monitor версии 7.9 и ниже – True, т.е. проверка выключена;
  • при обновлении сервера Device Monitor версии 7.10 и выше – значение остается равным тому, что было до обновления.

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

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

  1. На сервере Traffic Monitor откройте файл /opt/iw/tm5/etc/xapi.conf.
  2. В секции ThriftServers -> xapi найдите параметр TrustedCertificatesPath.
    В значении данного параметра указано расположение указаны путь к файлу корневого сертификата и его имя. Если указан относительный путь, то его необходимо рассматривать от каталога /opt/iw/tm5.
    Значение параметра TrustedCertificatesPath по умолчанию: /opt/iw/tm5/etc/cert/trusted_certificates .
  3. Скопируйте корневой сертификат на компьютер, где установлен или будет установлен сервер Device Monitor.
  4. Переименуйте корневой сертификат в tmca.crt.
  5. Откройте оснастку управления сертификатами компьютера. Для этого:
    1. В меню Пуск выберите Выполнить.
    2. Введите mmc. Откроется Консоль Управления.
    3. В меню Файл выберите Добавить или удалить оснастку.
    4. В открывшемся окне в списке Доступные оснастки выберите Сертификаты, а затем нажмите Добавить.
    5. В окне Оснастка диспетчера сертификатов выберите Учетная запись компьютера, а затем нажмите Далее.
    6. В окне Выбор компьютера убедитесь, что выставлен флажок Локальный компьютер, и нажмите Готово.
    7. В окне Добавление или удаление оснастки нажмите ОК.
  6. Перейдите в раздел Доверенные корневые центры сертификации -> Сертификаты.
  7. В меню Действие выберите Все задачи -> Импорт.
  8. В открывшемся окне нажмите Далее.
  9. Укажите путь к скопированному ранее корневому сертификату и нажмите Далее.
  10. Убедитесь, что выставлен флажок Поместить все сертификаты в следующее хранилище и в качестве хранилища сертификатов выбрано Доверенные корневые центры сертификации, и нажмите Далее.
  11. Нажмите Готово.

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

  1. Откройте Консоль управления Traffic Monitor в браузере. 
  2. Экспортируйте сертификат веб-сервера Traffic Monitor из браузера, в нашем примере Google Chrome. Для этого:
    1. В левой части адресной строки нажмите Сведения о сайте .
    2. Нажмите Показать сертификат.
    3. В Инструменте просмотра сертификатов откройте вкладку Подробнее.
    4. Нажмите Экспорт.
    5. Нажмите Сохранить.
  3. Скопируйте корневой сертификат на компьютер, где установлен или будет установлен сервер Device Monitor.
  4. Выполните шаги 5-11 инструкции по установке сертификата службы XAPI Traffic Monitor, описанной выше.

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

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

    kubectl get secret -n infowatch epeventskeys-central -o 'go-template={{index .data "tls.crt"}}' | base64 –d -d > plca.crt
    Если сервер Платформы не является центральным в кластере, то команда будет иметь вид:
    kubectl get secret -n infowatch epeventskeys-<node label> -o 'go-template={{index .data "tls.crt"}}' | base64 –d -d > plca.crt
    где <node label> – это имя серверной ноды.

  2. Скопируйте корневой сертификат на компьютер, где установлен или будет установлен сервер Device Monitor.
  3. Выполните шаги 5-11 инструкции по установке сертификата службы XAPI Traffic Monitor, описанной выше.

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

Если сервер Device Monitor не сможет проверить сертификат, в логах появится ошибка с указанием сертификата и его статуса:

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 базы данных сервера Device Monitor. По умолчанию эти значения равны 3600 секунд. Если сертификат удаленного сервера повторно не пройдет проверку и с момента последней отправки сообщения об ошибке прошло меньше указанного времени, то новое сообщение об ошибке отправлено не будет.

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

  1. Запустите приложение Windows Просмотр событий.
  2. Откройте раздел Журналы Windows -> Приложение.
Sv translation
languageen

To improve security, Device Monitor Server is able to validate a remote server certificatecertificates. Such validation allows you to determine authenticity of the remote server when connecting to it.

Device Monitor validates the following certificates:

  • XAPI service certificate – when connecting to the Traffic Monitor Server for sending events
  • Traffic Monitor web server certificate (TMConfig certificate) – when connecting to Traffic Monitor Server for synchronization of data protection policies
  • EPEVENTS service certificate – when connecting to the Platform Server for sending events

To successfully connect to the remote server for sending events:

  1. Сonfigure the certificate validation on the Device Monitor Server.
  2. On the Device Monitor Server, install root certificates of the remote server into the root certificates store with the “local computer” level.

To successfully connect to the Traffic Monitor server for synchronization of data protection policies:

  1. Configure the certificate validation on the Device Monitor Server.
  2. If you want to use the built-in certificate of Traffic Monitor web server, go to step 5.
  3. In your company's Certificate Authority, issue a X.509 certificate for the Traffic Monitor web server.
  4. Configure the Traffic Monitor web server work with the issued certificate.
  5. On the Device Monitor Server, install root certificates of the Traffic Monitor web server into the root certificates store with the “local computer” level.
Configuring

To configure validation of the

remote server certificatesThe

remote server certificates

are validated

when starting a remote SSL session

. To configure validation, use

:

Set the values to True or False for the following fields of the SETTINGS table of the Device Monitor Server database:

  • IGNORE_SSLERR_TMXAPI_CONNECTION – to ignore the Traffic Monitor XAPI service certificate validation
  • IGNORE_SSLERR_TMCONFIG_CONNECTION – to ignore the Traffic Monitor TMConfig certificate validation
  • IGNORE_SSLERR_PLATFORM_CONNECTION – to ignore the Platform EPEVENTS service certificate validation

The fields can take a value of True or False. If the value is False, the validation is not carried out.

The default values of the IGNORE_SSLERR_TMXAPI_CONNECTION field:

  • when primarily installing Device Monitor Server – False, that is the Traffic Monitor XAPI service certificate validation is enabled
  • when updating Device Monitor Server version 7.9 and earlier – True, that is the validation is disabled
  • when updating Device Monitor Server version 7.10 and later – the value remains the same as before the update

The default values of the IGNORE_SSLERR_TMCONFIG_CONNECTION field:

  • when primarily installing Device Monitor Server – False, that is the Traffic Monitor TMConfig certificate validation is enabled
  • when updating Device Monitor Server – True, that is the validation is disabled

The default value of the IGNORE_SSLERR_PLATFORM_CONNECTION field:

  • when primarily installing Device Monitor Server – True, that is the Platform EPEVENTS service certificate validation is disabled
  • when updating Device Monitor Server version 7.9 and earlier – True, that is the validation is disabled
  • when updating Device Monitor Server version 7.10 and later – the value remains the same as before the update

If the values of the IGNORE_SSLERR_TMXAPI_CONNECTION, IGNORE_SSLERR_TMCONFIG_CONNECTION and IGNORE_SSLERR_PLATFORM_CONNECTION parameters have been changed, restart Device Monitor Server service so that the certificate validation rules can take effect.

To install a certificate of the Traffic Monitor XAPI service:

  1. On the Traffic Monitor Server, open the /opt/iw/tm5/etc/xapi.conf file.
  2. In the ThriftServers -> xapi section, find the TrustedCertificatesPath parameter.
    The value of this parameter contains the path to the root certificate and its name. If this the path is not absolute, then it is relative to the /opt/iw/tm5 directory.
    The TrustedCertificatesPath parameter value by default: /opt/iw/tm5/etc/cert/trusted_certificates .
  3. Copy the root certificate to the computer on which Device Monitor Server is installed or is to be installed.
  4. Rename the root certificate to tmca.crt.
  5. Open the computer certificate manager snap-in. For this:
    1. From the Start menu, select Run.
    2. Enter mmc. Microsoft Management Console will open.
    3. From the File menu, select Add or Remove Snap-ins.
    4. In the opened dialog box, from the Available snap-ins list, select Certificates and click Add.
    5. In the Certificates Snap-in dialog box, select Computer account and click Next.
    6. In the Select Computer dialog box, make sure that Local computer is selected and click Finish.
    7. In the Add or Remove Snap-ins dialog box, click OK.
  6. Go to the Trusted Root Certification Authorities -> Certificates.
  7. In the Action menu, select All Tasks -> Import.
  8. In the opened window, click Next.
  9. Specify the path to the previously copied root certificate and click Next.
  10. Make sure that Place all certificates in the following store -> Trusted Root Certification Authorities is selected and click Next.
  11. Click Finish.

To install a Traffic Monitor web-server certificate:

  1. In your browser, open Traffic Monitor Management Console.
  2. Export the Traffic Monitor web-server certificate from the browser, in our example it is Google Chrome. For this:
    1. In the left part of the address bar, click View site information.

    2. Click Show certificate.

    3. In the Certificate viewer, open the Details tab.
    4. Click Export.
    5. Click Save.
  3. Copy the certificate to the computer on which Device Monitor Server is installed or is to be installed.
  4. Follow the steps 5-11 of the Traffic Monitor XAPI service certificate installing instruction described above.

To install a certificate of the Platform EPEVENTS service:

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

    kubectl get secret -n infowatch epeventskeys-central -o 'go-template={{index .data "tls.crt"}}' | base64 –d -d > plca.crt
    If Platform Server is not central in the cluster, then use the following command:
    kubectl get secret -n infowatch epeventskeys-<node label> -o 'go-template={{index .data "tls.crt"}}' | base64 –d -d > plca.crt
    where <node label> is a server node label.

  2. Copy the root certificate to the computer on which Device Monitor Server is installed or is to be installed.
  3. Follow the steps 5-11 of the Traffic Monitor XAPI service certificate installing instruction described above.

View Logs

If Device Monitor Server cannot validate the certificate, an error appears in logs. It contains information about the certificate and its status:

Can't validate TmXapi certificate. Chain error: Certificate thumbprint: <thumbprint> Subject: CN=XAPI, OU=TD, O=InfoWatch, S=Moscow, C=RU

UntrustedRoot A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.

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

UntrustedRoot A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.

You can configure time between sending error messages to logs using the WRITE_SSLVERIFY_TMXAPI_LOG_INTERVAL, IGNORE_SSLERR_TMCONFIG_CONNECTION and WRITE_SSLVERIFY_PLATFORM_LOG_INTERVAL fields of the SETTINGS table of the Device Monitor Server database. The default values of this fields are 3600 seconds. If the remote server certificate validation fails again and the time that passed from the last error message sending is less than the specified value, then a new error message is not sent.

To view logs:

  1. Launch the EventViewer Windows Application.
  2. Open the Windows Logs -> Application section.