To improve security, Device Monitor Server is able to validate a remote server certificates. 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: - Сonfigure the certificate validation on the Device Monitor Server.
- 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: - Configure the certificate validation on the Device Monitor Server.
- If you want to use the built-in certificate of Traffic Monitor web server, go to step 5.
- In your company's Certificate Authority, issue a X.509 certificate for the Traffic Monitor web server.
- Configure the Traffic Monitor web server work with the issued certificate.
- On the Device Monitor Server, install root certificates of the Traffic Monitor web server into the root certificates store with the “local computer” level.
Validation of the remote server certificates when starting a remote SSL sessionTo configure validation of the remote server certificates when starting a remote SSL session: 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 validationIGNORE_SSLERR_TMCONFIG_CONNECTION – to ignore the Traffic Monitor TMConfig certificate validationIGNORE_SSLERR_PLATFORM_CONNECTION – to ignore the Platform EPEVENTS service certificate validation
If the value is False, the validation is not carried out. Default valuesThe 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. Certificate of the Traffic Monitor XAPI serviceTo install a certificate of the Traffic Monitor XAPI service: - On the Traffic Monitor Server, open the
/opt/iw/tm5/etc/xapi.conf file. - 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 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 . - Copy the root certificate to the computer on which Device Monitor Server is installed or is to be installed.
- Rename the root certificate to
tmca.crt. - Open the computer certificate manager snap-in. For this:
- From the Start menu, select Run.
- Enter
mmc. Microsoft Management Console will open. - From the File menu, select Add or Remove Snap-ins.
- In the opened dialog dialogue box, from the Available snap-ins list, select Certificates and click Add.
- In the Certificates Snap-in dialog dialogue box, select Computer account and click Next.
- In the Select Computer dialog dialogue box, make sure that Local computer is selected and click Finish.
- In the Add or Remove Snap-ins dialog dialogue box, click OK.
- Go to the Trusted Root Certification Authorities -> Certificates.
- In the Action menu, select All Tasks -> Import.
- In the opened window, click Next.
- Specify the path to the previously copied root certificate and click Next.
- Make sure that Place all certificates in the following store -> Trusted Root Certification Authorities is selected and click Next.
- Click Finish.
Traffic Monitor web-server certificateTo install a Traffic a Traffic Monitor web-server certificate: - In your browser, open Traffic Monitor Management Console.
- Export the Traffic Monitor web-server certificate from the browser, in our example it is Google Chrome. For this:
- In the left part of the address bar, click View site information.

- Click Show certificate.

- In the Certificate viewer, open the Details tab.
- Click Export.
- Click Save.
- Copy the certificate to the computer on which Device Monitor Server is installed or is to be installed.
- 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: - 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 > 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 > plca.crt where <node label> is a server node label.
- Copy the root certificate to the computer on which Device Monitor Server is installed or is to be installed.
- Follow the steps 5-11 of the Traffic Monitor XAPI service certificate installing instruction described above.
View LogsIf 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: - Launch the EventViewer Windows Application.
- Open the Windows Logs -> Application section.
|