# Диагностика и решение проблем

# Решение проблем KPSN 4.0

<details id="bkmrk-unable-to-verify-the"><summary>Unable to verify the first certificate</summary>

**Описание:**

[![image.png](https://antiapt-community.ru/uploads/images/gallery/2025-12/scaled-1680-/CP7z3P1LklRIdFIS-image.png)](https://antiapt-community.ru/uploads/images/gallery/2025-12/CP7z3P1LklRIdFIS-image.png)

<details><summary>Текст ошибки</summary>

*KPSN server unavailable*

*Error "unable to verify the first certificate" occurred. Check access to KPSN server or set up the integration with KPSN again.*

</details><details><summary>KSC web console log</summary>

```json
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [>>>] getConfigurationStatus in pluginServerApi start","timestamp":"2025-03-05T16:47:16.961Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getTenantId: no tenant id","timestamp":"2025-03-05T16:47:16.961Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue start","timestamp":"2025-03-05T16:47:16.961Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"},"payload":{"key":"kpsn-backend-info","fullKey":"kpsn-backend-info"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue success: key: \"kpsn-backend-info\"","timestamp":"2025-03-05T16:47:16.986Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] tokenCache:oxWlUyvqUS6XDMnytmZi cache get: success: key \"kpsn-token\"","timestamp":"2025-03-05T16:47:16.986Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] User token was found in cache","timestamp":"2025-03-05T16:47:16.986Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getTenantId: no tenant id","timestamp":"2025-03-05T16:47:16.991Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue start","timestamp":"2025-03-05T16:47:16.991Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"},"payload":{"key":"kpsn-backend-info","fullKey":"kpsn-backend-info"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue success: key: \"kpsn-backend-info\"","timestamp":"2025-03-05T16:47:16.999Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"warn","version":"1.1.0.33","tags":[],"message":"[KPSN] [ApiClient] https://lavkpsn4tests.vm.org:443 is unavailable.","timestamp":"2025-03-05T16:47:17.010Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getTenantId: no tenant id","timestamp":"2025-03-05T16:47:17.011Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue start","timestamp":"2025-03-05T16:47:17.011Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"},"payload":{"key":"kpsn-backend-info","fullKey":"kpsn-backend-info"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue success: key: \"kpsn-backend-info\"","timestamp":"2025-03-05T16:47:17.017Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"error","version":"1.1.0.33","tags":[],"message":"[KPSN] [<<<] getConfigurationStatus in pluginServerApi failure","timestamp":"2025-03-05T16:47:17.017Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zAiujrzgzm","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"},"payload":"unable to verify the first certificate"}}
```

</details>**Причина:**

1. Ошибка возникает при изменении сертификата центра сертификации (CA) в KPSN после интеграции с KSC.
2. Что-то прерывает передачу данных между KSC и KPSN.

**Решение:**

<span dir="auto">Удалите интеграцию с KPSN и повторите попытку. Если ошибка повторится, проверьте сертификат KPSN в KSC. Откройте URL-адрес KPSN (</span><span class="nolink"><span dir="auto">https://&lt;FQDN\_KPSN&gt;:443)</span></span><span dir="auto"> в браузере и проверьте сертификат (учитывайте настройки прокси). Проверьте **Authority Key Identifier**</span><span dir="auto"> и **Issuer**</span><span dir="auto">. Затем перейдите в KPSN и запустите:</span>

```bash
kpsnctl certs print server
```

<span dir="auto">и проверьте </span>**<span dir="auto">keyid</span>**<span dir="auto"> и </span>**<span dir="auto">Issuer</span>**<span dir="auto"> . Информация в сертификате и в выводе команды должна совпадать (в указанных разделах). **Пример:**</span>

<span dir="auto">**Сертификат в браузере**  
</span>

[![image.png](https://antiapt-community.ru/uploads/images/gallery/2025-12/scaled-1680-/tS4R76mBJl7tLyrj-image.png)](https://antiapt-community.ru/uploads/images/gallery/2025-12/tS4R76mBJl7tLyrj-image.png)[![image.png](https://antiapt-community.ru/uploads/images/gallery/2025-12/scaled-1680-/K7aOmbpqmmKzTkS7-image.png)](https://antiapt-community.ru/uploads/images/gallery/2025-12/K7aOmbpqmmKzTkS7-image.png)

**<span dir="auto">Информация о сертификации в KPSN</span>**

<details><summary>Информация о сертификате в KPSN</summary>

```css
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 1755072614917 (0x198a27ad205)
    Signature Algorithm: ECDSA-SHA384
        Issuer: O=Kaspersky,CN=KPSN Root CA
        Validity
            Not Before: Aug 13 08:10:14 2025 UTC
            Not After : Nov 13 08:10:14 2025 UTC
        Subject:
        Subject Public Key Info:
            Public Key Algorithm: ECDSA
                Public-Key: (384 bit)
                X:
                    9b:1c:2f:80:75:ea:3d:ea:ba:13:50:85:ba:d7:71:
                    2b:34:da:d4:73:9e:fd:9c:bc:01:f2:43:d9:44:08:
                    ec:5f:bf:21:7d:0c:04:64:20:97:37:b0:05:1f:ab:
                    71:13:57
                Y:
                    c5:c1:0a:61:e0:69:bb:e1:5f:b8:e6:38:f2:b4:1c:
                    92:95:73:f0:cb:d2:e1:e7:63:77:50:45:12:38:45:
                    c3:ac:c7:d5:e7:54:50:02:b1:d3:e7:ea:e3:2e:da:
                    45:e9:75
                Curve: P-384
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature
            X509v3 Extended Key Usage:
                Server Authentication
            X509v3 Subject Key Identifier:
                01:02:03:04:06
            X509v3 Authority Key Identifier:
                keyid:0F:47:7B:0B:F0:E6:35:00:DA:B9:A3:B5:FD:27:6C:43:1E:86:70:DE
            X509v3 Subject Alternative Name: critical
                DNS:lavkpsn4def.vm.org
    Signature Algorithm: ECDSA-SHA384
         30:64:02:30:6f:71:9d:6b:f3:9c:2e:5f:f9:46:fa:cb:c8:6c:
         4b:d8:e6:db:84:fd:e6:a6:ac:b6:68:3b:8e:77:59:fd:9c:09:
         fd:22:02:a7:99:c7:75:3f:81:07:9b:d6:27:22:db:ca:02:30:
         04:7c:af:c7:bb:ab:2b:7c:cd:17:19:88:61:d9:23:e9:c5:f2:
         54:66:d3:fc:f2:e3:0a:90:9a:6f:33:8c:8c:74:df:3d:c4:68:
         2a:2f:39:fa:b9:de:f4:9f:4d:6e:90:bd
```

</details><span dir="auto">Если вы попытаетесь выполнить эту проверку с хоста, на котором установлен KES и включено сканирование трафика, вы увидите следующее: </span>

[![image.png](https://antiapt-community.ru/uploads/images/gallery/2025-12/scaled-1680-/DznSWyP9UsIv9b4A-image.png)](https://antiapt-community.ru/uploads/images/gallery/2025-12/DznSWyP9UsIv9b4A-image.png)

<span dir="auto">Не принимайте, сначала проверьте сертификат. Если вы примете, вы увидите только сертификат KES.</span>

</details><details id="bkmrk-getaddrinfo-enotfoun"><summary>Getaddrinfo ENOTFOUND</summary>

**Описание:**

[![image.png](https://antiapt-community.ru/uploads/images/gallery/2025-12/scaled-1680-/6eW2tjpVZFVXWADT-image.png)](https://antiapt-community.ru/uploads/images/gallery/2025-12/6eW2tjpVZFVXWADT-image.png)

<details><summary>Текст ошибки</summary>

*KPSN server unavailable*

*Error "getaddrinfo ENOTFOUND lavkpsn4tests.vm.org" occurred. Check access to KPSN server or set up the integration with KPSN again.*

</details><details><summary>KSC web console log</summary>

```json
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [>>>] getConfigurationStatus in pluginServerApi start","timestamp":"2025-03-05T16:23:16.624Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zEJC2aJ1YJ","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getTenantId: no tenant id","timestamp":"2025-03-05T16:23:16.624Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zEJC2aJ1YJ","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue start","timestamp":"2025-03-05T16:23:16.624Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zEJC2aJ1YJ","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"},"payload":{"key":"kpsn-backend-info","fullKey":"kpsn-backend-info"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue success: key: \"kpsn-backend-info\"","timestamp":"2025-03-05T16:23:16.630Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zEJC2aJ1YJ","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] tokenCache:oxWlUyvqUS6XDMnytmZi cache get: success: key \"kpsn-token\"","timestamp":"2025-03-05T16:23:16.631Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zEJC2aJ1YJ","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] User token not found in cache","timestamp":"2025-03-05T16:23:16.631Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zEJC2aJ1YJ","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"error","version":"1.1.0.33","tags":[],"message":"[KPSN] Cannot resolve user token.","timestamp":"2025-03-05T16:23:37.288Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zEJC2aJ1YJ","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"},"payload":{"bFinalized":true,"bSuccededFinalized":false,"lStateCode":4,"pStateData":{"KLBLAG_ERROR_INFO":{"type":"params","value":{"KLBLAG_ERROR_CODE":3604,"KLBLAG_ERROR_FNAME":"","KLBLAG_ERROR_LNUMBER":-1,"KLBLAG_ERROR_MODULE":"Error: [NO_SERVER_ERROR]: getaddrinfo ENOTFOUND lavkpsn4test.vm.org","KLBLAG_ERROR_MSG":"Error: [NO_SERVER_ERROR]: getaddrinfo ENOTFOUND lavkpsn4test.vm.org","KLBLAG_ERROR_SUBCODE":0}}},"lNextCheckDelay":0}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] tokenCache:oxWlUyvqUS6XDMnytmZi cache delete: success: key: \"kpsn-token\"","timestamp":"2025-03-05T16:23:37.288Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zEJC2aJ1YJ","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"error","version":"1.1.0.33","tags":[],"message":"[KPSN] [<<<] getConfigurationStatus in pluginServerApi failure","timestamp":"2025-03-05T16:23:37.288Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"zEJC2aJ1YJ","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"},"payload":"Error: getaddrinfo ENOTFOUND lavkpsn4test.vm.org"}}
```

</details>**Причина:**

<span dir="auto">Ошибка при разрешении имени KPSN.</span>

**<span dir="auto">Решение:</span>**

<span dir="auto">Проверьте, может ли KSC разрешить имя KPSN:</span><button class=" css-1l7n0sn" type="button"></button><button class=" css-1l7n0sn" type="button"></button>

```bash
nslookup lavkpsn4test.vm.org
```

<span dir="auto">Измените имя **<span class="">lavkpsn4test</span><span class="token punctuation">.</span><span class="">vm</span><span class="token punctuation">.</span><span class="">org</span>** </span><span dir="auto">на фактическое имя KPSN. Также проверьте подключение к KPSN через порт 443. Это можно сделать с помощью **telnet** и</span><span dir="auto">ли **tnc** (</span><span dir="auto">из powershell)</span><span dir="auto">. Пример команды:</span><button class=" css-1l7n0sn" type="button"></button><button class=" css-1l7n0sn" type="button"></button>

```powershell
tnc lavkpsn4tests.vm.org -Port 443
```

</details><details id="bkmrk-failed-to-get-inform"><summary>Failed to get information from KPSN server</summary>

**Описание:**

[![image.png](https://antiapt-community.ru/uploads/images/gallery/2025-12/scaled-1680-/wnF5Jyw173zhYW52-image.png)](https://antiapt-community.ru/uploads/images/gallery/2025-12/wnF5Jyw173zhYW52-image.png)

<details><summary>Текст ошибки</summary>

*Failed to get information from KPSN server. Make sure that the required ports listed in KPSN help are available from KSC server.*

*Cannot resolve user token.*

</details><details><summary>KSC web console log</summary>

```json
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [>>>] getConfigurationStatus in pluginServerApi start","timestamp":"2025-02-11T12:53:48.094Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"Kx5u7AbEU4","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getTenantId: no tenant id","timestamp":"2025-02-11T12:53:48.094Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"Kx5u7AbEU
","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue start","timestamp":"2025-02-11T12:53:48.094Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"Kx5u7AbEU4","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"},"payload":{"key":"kpsn-backend-info","fullKey":"kpsn-backend-info"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue success: key: \"kpsn-backend-info\"","timestamp":"2025-02-11T12:53:48.107Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"Kx5u7AbEU4","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] tokenCache:7IGSh2K4ZGN5I0lbL3dd cache get: success: key \"kpsn-token\"","timestamp":"2025-02-11T12:53:48.108Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"Kx5u7AbEU4","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] User token not found in cache","timestamp":"2025-02-11T12:53:48.108Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"Kx5u7AbEU4","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"error","version":"1.1.0.33","tags":[],"message":"[KPSN] Cannot resolve user token.","timestamp":"2025-02-11T12:53:48.128Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"Kx5u7AbEU4","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] tokenCache:7IGSh2K4ZGN5I0lbL3dd cache delete: success: key: \"kpsn-token\"","timestamp":"2025-02-11T12:53:48.128Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"Kx5u7AbEU4","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"}}}
{"level":"error","version":"1.1.0.33","tags":[],"message":"[KPSN] [<<<] getConfigurationStatus in pluginServerApi failure","timestamp":"2025-02-11T12:53:48.128Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"Kx5u7AbEU4","pluginVersion":"1.1.0.33","pluginApiMethod":"getConfigurationStatus"},"payload":"Cannot resolve user token."}}
```

</details>**Причина:**

<span dir="auto">Произошла ошибка в консоли службы NWC: служба NWC была перезапущена, опция «Фоновое соединение для интеграции» (Параметры &gt; Интеграция) была отключена. </span>

<span dir="auto">Или KSC не может подключиться к адресу KPSN.</span>

**<span dir="auto">Решение:</span>**

<span dir="auto">Чтобы исправить эту ошибку:</span>

1. <span dir="auto">Перезапустите </span><span dir="auto">службу Kaspersky Security Center Service Web Console.</span>
2. <span dir="auto">Откройте новую вкладку в браузере и подключитесь к веб консоли KSC.</span>
3. <span dir="auto">Отключите </span>**<span dir="auto">фоновое соединение для интеграции,</span>**<span dir="auto"> если оно было включено. Сохраните изменения.</span>
4. <span dir="auto">Включите эту функцию. Примите изменения прав доступа и сохраните.</span>

<span dir="auto">Также проверьте, можно ли разрешить имя KPSN из KSC с помощью nslookup. </span>

</details><details id="bkmrk-timeout-of-15000ms-w"><summary>Timeout of 15000ms was exceeded</summary>

**Описание:**

[![image.png](https://antiapt-community.ru/uploads/images/gallery/2025-12/scaled-1680-/K0WlJcegHUlU3ktn-image.png)](https://antiapt-community.ru/uploads/images/gallery/2025-12/K0WlJcegHUlU3ktn-image.png)

<details><summary>Текст ошибки</summary>

*KPSN server unavailable*

*Error "timeout of 15000ms exceeded" occurred. Check access to KPSN server or set up the integration with KPSN again.*

</details><details><summary>KSC web console log</summary>

```json
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [>>>] executeCommand in productApi start","timestamp":"2025-03-05T13:37:29.721Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"wh8yi1SepJ","pluginVersion":"1.1.0.33","pluginApiMethod":"executeCommand"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] executeCommand start","timestamp":"2025-03-05T13:37:29.721Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"wh8yi1SepJ","pluginVersion":"1.1.0.33","pluginApiMethod":"executeCommand"},"payload":"IssueUserToken"}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] get user access token","timestamp":"2025-03-05T13:37:29.722Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"wh8yi1SepJ","pluginVersion":"1.1.0.33","pluginApiMethod":"executeCommand"},"payload":{"serverId":"fb5e4e2c-fbfc-424e-a1c2-79d65e651239","userId":"sid_010500000000000515000000E2CA5270A67C21589095F045F4010000","userName":"LAVKSCKPSN\\Administrator","accessRights":{"FUNC_AREA_KPSN_API":4,"FUNC_AREA_KPSN_CONFIGURATION":4,"FUNC_AREA_KPSN_FILE_REPUTATION":4,"FUNC_AREA_KPSN_URL_REPUTATION":4}}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getTenantId: no tenant id","timestamp":"2025-03-05T13:37:29.722Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"wh8yi1SepJ","pluginVersion":"1.1.0.33","pluginApiMethod":"executeCommand"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue start","timestamp":"2025-03-05T13:37:29.722Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"wh8yi1SepJ","pluginVersion":"1.1.0.33","pluginApiMethod":"executeCommand"},"payload":{"key":"kpsn-backend-info","fullKey":"kpsn-backend-info"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue success: key: \"kpsn-backend-info\"","timestamp":"2025-03-05T13:37:29.728Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"wh8yi1SepJ","pluginVersion":"1.1.0.33","pluginApiMethod":"executeCommand"}}}
{"level":"warn","version":"1.1.0.33","tags":[],"message":"[KPSN] [ApiClient] https://lavkpsn4test.vm.org:443 is unavailable.","timestamp":"2025-03-05T13:37:44.758Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"wh8yi1SepJ","pluginVersion":"1.1.0.33","pluginApiMethod":"executeCommand"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getTenantId: no tenant id","timestamp":"2025-03-05T13:37:44.758Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"wh8yi1SepJ","pluginVersion":"1.1.0.33","pluginApiMethod":"executeCommand"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue start","timestamp":"2025-03-05T13:37:44.758Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"wh8yi1SepJ","pluginVersion":"1.1.0.33","pluginApiMethod":"executeCommand"},"payload":{"key":"kpsn-backend-info","fullKey":"kpsn-backend-info"}}}
{"level":"info","version":"1.1.0.33","tags":[],"message":"[KPSN] [PerServerStorage] getValue success: key: \"kpsn-backend-info\"","timestamp":"2025-03-05T13:37:44.766Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"wh8yi1SepJ","pluginVersion":"1.1.0.33","pluginApiMethod":"executeCommand"}}}
{"level":"error","version":"1.1.0.33","tags":[],"message":"[KPSN] [<<<] executeCommand in productApi failure","timestamp":"2025-03-05T13:37:44.766Z","component":"plugin_kpsn","data":{"logContext":{"operationId":"wh8yi1SepJ","pluginVersion":"1.1.0.33","pluginApiMethod":"executeCommand"},"payload":{"message":"[NO_SERVER_ERROR]: timeout of 15000ms exceeded","type":"no working server"}}}
```

</details>**Причина:**

<span dir="auto">KSC не может подключиться к KPSN</span>

**<span dir="auto">Решение:</span>**

<span dir="auto">Проверьте соединение через **tnc**</span>

```bash
tnc lavkpsn4tests.vm.org -Port 443
```

<div class="code panel pdl conf-macro output-block" data-hasbody="true" data-macro-name="code"><div class="codeContent panelContent pdl"><div class="codeBlockContainer_yyk2gsoAwjaamghp6yoO-Q=="><div class="buttonContainer_eYrJGPqrr8SQQaUJ7o5OMg==  ">Если IP-адрес присутствует, но в строке PingSucceeded указано значение False, то KSC сможет разрешить имя KPSN, но не сможет подключиться к порту 443.</div><div class="buttonContainer_eYrJGPqrr8SQQaUJ7o5OMg==  ">В таких случаях необходимо проверить сетевые настройки. </div></div></div></div></details><details id="bkmrk-error%3A-self-signed-c"><summary>Error: self-signed certificate</summary>

**Описание:**

[![image.png](https://antiapt-community.ru/uploads/images/gallery/2025-12/scaled-1680-/plGUBO3EHkE2hKkj-image.png)](https://antiapt-community.ru/uploads/images/gallery/2025-12/plGUBO3EHkE2hKkj-image.png)

<details><summary>Текст ошибки</summary>

*KPSN server unavailable*

*Error "Error: self-signed certificate" occurred. Check access to KPSN server or set up the integration with KPSN again.*

</details>**Причина:**

<span dir="auto">Неверный адрес в сертификате сервера.</span>

**<span dir="auto">Решение:</span>**

1. <span dir="auto">В KPSN выполните:</span>```bash
    kpsnctl certs print server
    ```
    
    Проверьте имя KPSN (например, **<span class="">DNS</span><span class="token operator">: </span>**<span class="">**lavkpsn4tests**)  
    <span dir="auto">Правильное имя должно быть: например, **lavkpsn4tests.vm.org** (FQDN!)</span></span>
2. Измените имя в сертификате сервера, указав фактическое имя (FQDN)  
    ```bash
    kpsnctl certs rotate server --months 12 --external-hostname <FQDN>
    ```

</details><details id="bkmrk-configurations-files"><summary>Configurations files not downloaded</summary>

**Описание:**

[![image.png](https://antiapt-community.ru/uploads/images/gallery/2025-12/scaled-1680-/CN6nVd67pnuyYXuy-image.png)](https://antiapt-community.ru/uploads/images/gallery/2025-12/CN6nVd67pnuyYXuy-image.png)

<details><summary>Текст ошибки</summary>

*Configuration files not downloaded*

</details>**Причина:**

<span dir="auto">После интеграции, активации и настройки вам потребуются конфигурационные файлы для подключения других наших продуктов: KATA, KSMG, KSC и др. </span>

<span dir="auto">Эта ошибка всегда означает, что KSC или KPSN не могут связаться с **ksn-pub-5.kaspersky-labs.com**</span>

<span dir="auto">**Решение:**</span>

<div>Проверьте соединение как через TNC, так и через Telnet.</div><div>  
</div><div>Если проверка соединения прошла успешно, проверьте аппаратное или программное обеспечение для анализа трафика. Указанный URL-адрес должен быть исключен из анализа трафика.</div></details>