The ability to verify the certificates of remote servers is implemented on the | Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server to enhance security. With this verification, you can ensure the authenticity of the remote server when connecting to it.| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| verifies the following certificates:
- XAPI service certificate – when connecting to the
| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server to send events; - certificate of the
| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| web server (TMConfig certificate) – when connecting to the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| 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: - Configure certificate verification on the
| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server. - On the
| Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| 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 |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server for synchronizing data protection policies:- Configure certificate verification on the
| Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| server. - At your company's certification center, issue an X.509 certificate for the
| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| web server. - Configure the
| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| web server to work with the issued certificate. Install the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| web server's root certificate at the "local computer" level root certificate store on the | Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server.| Предупреждение |
|---|
| If you do not perform steps 2–4, then you need to disable the verification of the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| web server certificate. Connection with the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server will be protected with the TLS protocol, but the | Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server will not be able to verify that it has connected to the right | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server. |
Verifying the certificates of remote servers when establishing an SSL sessionTo 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 |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server database:IGNORE_SSLERR_TMXAPI_CONNECTION – ignore the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| XAPI service certificate verification;IGNORE_SSLERR_TMCONFIG_CONNECTION – ignore the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| 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 |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server installation – False, meaning that the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| XAPI service certificate verification is enabled; - when updating the
| Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server version 7.9 and below – True, meaning that the check is disabled; when updating the | Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| 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 |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server installation – False, meaning that the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| web server certificate verification is enabled; - when updating the
| Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server – True, meaning that the verification is disabled.
The default value of the IGNORE_SSLERR_PLATFORM_CONNECTION field: - during the initial
| Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server installation – True, meaning that the certificate verification is disabled for the EPEVENTS Platform service; - when updating the
| Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server versions 7.9 and below – True, meaning that the check is disabled; when updating the | Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| 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 |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server service.Installing the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| XAPI service certificateTo install the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| shouldDisplayInlineCommentsInIncludes | false |
|---|
| XAPI service certificate:- On the
| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server, open the file /opt/iw/tm5/etc/xapi.conf. - 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. - Copy the root certificate to the computer where the
| Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server is installed or will be installed. If you will be using or have installed the | Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| 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 |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server. - Go to the directory where the root certificate was copied. When using Docker – to the
/opt/iw/dmserver/cert directory. - Rename the root certificate to
tmca.crt. - Enter the commands depending on the operating system and the use of containerization in the environment where the root certificate is being installed:
Restart the server service iwdms: | Блок кода |
|---|
systemctl restart iwdms |
Installing the certificate of the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| web server To install the certificate of the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| web server:- Open the
| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| Management Console in the browser. - Export the
| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| web server certificate from the browser. In our example, it is Google Chrome. To do this:- In the left part of the address bar, click View site Information.
 - Click Show certificate.
 - In the Certificate Viewer, go to the Details tab.
- Click Export.
- Click Save.
- Copy the root certificate to the computer where the
| Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server is installed or will be installed. - Go to the directory where the root certificate was copied.
- Follow step 6 of the
| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| XAPI service certificate installation instructions described above, using the name of the previously copied root certificate of the | Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| web server instead of tmca.crt.
To install the EPEVENTS Platform service certificate: On the Platform server, get the root certificate plca.crt using the command: | Блок кода |
|---|
| 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: | Блок кода |
|---|
| 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. - Copy the root certificate to the computer where the
| Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server is installed or will be installed. - Go to the directory where the root certificate was copied.
- Follow step 6 of the
| Multiexcerpt include |
|---|
| MultiExcerptName | TM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| 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 logsIf the | Multiexcerpt include |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| server is unable to verify the certificate, an error will appear in the logs indicating 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 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 |
|---|
| MultiExcerptName | DM_Short_Name |
|---|
| PageWithExcerpt | Excerpt Source |
|---|
| useIncluderPageContext | true |
|---|
| 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: - Go to the folder
/opt/iw/dmserver/log - Open the file
iwdms-<date>.txt, where <date> is the date in the YYYYMMDD format.
|