2.1.0p9 - TLS is not activated

CMK version: 2.1.0p9
OS version: Ubuntu 20.04.5 LTS

**Error message:**ERROR [cmk_agent_ctl] Failed to discover agent receiver port from Checkmk REST API, both with http and https.

Error with http:
Failed to discover agent receiver port from http://10.255.254.250/monitoring/check_mk/api/1.0/domain-types/internal/actions/discover-receiver/invoke
error sending request for url (http://10.255.254.250/monitoring/check_mk/api/1.0/domain-types/internal/actions/discover-receiver/invoke): error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919: (unable to get local issuer certificate)
error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919: (unable to get local issuer certificate)
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919: (unable to get local issuer certificate)
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919:

Error with https:
Failed to discover agent receiver port from https://10.255.254.250/monitoring/check_mk/api/1.0/domain-types/internal/actions/discover-receiver/invoke
error sending request for url (https://10.255.254.250/monitoring/check_mk/api/1.0/domain-types/internal/actions/discover-receiver/invoke): error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919: (unable to get local issuer certificate)
error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919: (unable to get local issuer certificate)
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919: (unable to get local issuer certificate)
error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1919:

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins) Check_MK Agent Version: 2.1.0p9, OS: linux, TLS is not activated on monitored host (see details)(!), Last update: Oct 14 2022 14:35:45, Agent plugins: 3, Local checks: 0

Reinstalled already, did not find out what the issue is… I think I am overlooking something…

You might want to add the port (usually 8000) to the commnd. I am deep linking on the section in the docs:

Hi,

Going to check if this helps, many thanks in advance!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.