Jump to content

Recommended Posts

EvgeniyLiventsov
Posted (edited)

Внедряем KSC 13, выполняется все по оф. мануалам из https://support.kaspersky.com/KSCLinux/13/ru-RU/176383.htm , все ставится, службы работают, все с виду хорошо, он при попытке подключится к Web console выдается ошибка :

Сервер администрирования использует недоверенный самоподписанный сертификат.
Пожалуйста, измените конфигурацию программы, указав действующий сертификат для Сервера администрирования

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

Файл настроек Web console 

{
        "address": "127.0.0.1",
        "port": 8080,
        "defaultLangId": 1049,
        "enableLog": true,
        "trusted": "127.0.0.1|13299|/var/opt/kaspersky/klnagent_srv/1093/cert/klserver.cer|KSC Server",
        "acceptEula": true,
        "certPath": "/var/opt/kaspersky/klnagent_srv/1093/cert/klserver.cer"
}

 

Вот такой вывод в логе

{"level":"info","message":"Get auth params from request","logDate":"2022-03-30T07:07:41.055Z","tags":["OS Hostname: kmr3074"]}
{"level":"info","message":"request.body","logDate":"2022-03-30T07:07:41.056Z","tags":["OS Hostname: kmr3074"],"data":{"server":"5zBhk9gCd7","email":"admin","password":true,"webtoken":false}}
{"level":"info","message":"request.query","logDate":"2022-03-30T07:07:41.056Z","tags":["OS Hostname: kmr3074"],"data":{"webtoken":false,"token":false}}
{"level":"info","message":"Request OYZBOzc2yR command Session.StartSession","logDate":"2022-03-30T07:07:41.057Z","tags":["OS Hostname: kmr3074"],"data":{"isNull":true},"extendedData":[{"connection":{"uid":"wOsN8TPpj"}}]}
{"level":"info","message":"Metric \"nwc_openapi_request_count ({}): 16","logDate":"2022-03-30T07:07:41.057Z","tags":["OS Hostname: kmr3074"]}
{"level":"info","message":"Request /api/v1.0/Session.StartSession is sent.","logDate":"2022-03-30T07:07:41.057Z","tags":["OS Hostname: kmr3074"],"data":{"isNull":true},"extendedData":[{"connection":{"uid":"wOsN8TPpj"}}]}
{"level":"warn","message":"problem with request: self signed certificate in certificate chain","logDate":"2022-03-30T07:07:41.061Z","tags":["OS Hostname: kmr3074"],"data":{"isNull":true},"extendedData":[{"connection":{"uid":"wOsN8TPpj"}}]}
{"level":"error","message":"Error: self signed certificate in certificate chain\n    at TLSSocket.onConnectSecure (_tls_wrap.js:1514:34)\n    at TLSSocket.emit (events.js:375:28)\n    at TLSSocket.emit (domain.js:532:15)\n    at TLSSocket._finishInit (_tls_wrap.js:$
{"level":"info","message":"Metric \"nwc_openapi_request_errors (\"Session.StartSession\"): 16","logDate":"2022-03-30T07:07:41.061Z","tags":["OS Hostname: kmr3074"]}
{"level":"error","message":"Error: self signed certificate in certificate chain\n    at TLSSocket.onConnectSecure (_tls_wrap.js:1514:34)\n    at TLSSocket.emit (events.js:375:28)\n    at TLSSocket.emit (domain.js:532:15)\n    at TLSSocket._finishInit (_tls_wrap.js:$
{"level":"info","message":"CoreSessionManager.closeClientSession::start","logDate":"2022-03-30T07:07:41.062Z","tags":["OS Hostname: kmr3074"]}
{"level":"info","message":"BaseSessionManager.closeClientSession::start","logDate":"2022-03-30T07:07:41.062Z","tags":["OS Hostname: kmr3074"]}
{"level":"info","message":"ClientSessionManager.closeSession::start","logDate":"2022-03-30T07:07:41.062Z","tags":["OS Hostname: kmr3074"]}
{"level":"info","message":"Metric \"nwc_users_logged_in ({}): -15","logDate":"2022-03-30T07:07:41.062Z","tags":["OS Hostname: kmr3074"]}
{"level":"info","message":"ClientSessionManager.closeSession::end","logDate":"2022-03-30T07:07:41.064Z","tags":["OS Hostname: kmr3074"]}
{"level":"info","message":"BaseSessionManager.closeClientSession::end","logDate":"2022-03-30T07:07:41.064Z","tags":["OS Hostname: kmr3074"]}
{"level":"info","message":"CoreSessionManager.closeClientSession::end","logDate":"2022-03-30T07:07:41.064Z","tags":["OS Hostname: kmr3074"]}
{"level":"info","message":"data flushed","logDate":"2022-03-30T07:07:41.064Z","tags":["OS Hostname: kmrmsk3074"],"data":{"isNull":true},"extendedData":[{"connection":{"uid":"wOsN8TPpj"}}]}
{"level":"info","message":"isAuthError() => isJWTError","logDate":"2022-03-30T07:07:41.069Z","tags":["OS Hostname: kmr3074"],"data":{"flag":true}}
{"level":"info","message":"core:checkAuthErrorMiddleware() => redirect to login","logDate":"2022-03-30T07:07:41.069Z","tags":["OS Hostname: kmr3074"]}
{"level":"info","message":"Idm :: try to get a config","logDate":"2022-03-30T07:07:41.088Z","tags":["OS Hostname: kmr3074"]}
{"level":"info","message":"Get Facade settings error :: Error: connect ECONNREFUSED 127.0.0.1:2444","logDate":"2022-03-30T07:07:41.090Z","tags":["OS Hostname: kmr3074"]}

 

Просьба подсказать шаги что нужно сделать чтобы попасть на Web console 

Untitled.png

Edited by EvgeniyLiventsov
дополнения

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...