CMK version: 2.1.0p5 (Free) as Docker container OS version: Ubuntu 22.04 / Windows 11
Error message:
ERROR [cmk_agent_ctl] the handshake failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:331:
Caused by:
0: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:331:
1: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:331:
After updating to CheckMK 2.1 and rebuilding the agents I received this Check_MK Agent warning on an Ubuntu 22.04 host and a Windows 11 host:
The hosts agent supports TLS, but it is not being used.
We strongly recommend to enable TLS by registering the host to the site (using the `cmk-agent-ctl register` command on the monitored host).
When I tried to register using the given command the abovementioned error message appeared.
I can see that the agent attempts to register at port 8000. As I am running my CheckMK instance as a Docker container which sits behind an nginx reverse proxy for web-interface access, this cannot work.
CMK 2.0 did not yet use TLS, so port 8000 didn’t need to be exposed back then. In your case doing proxy registration on the CMK server itself and importing it on the host to be monitored might be the best way. (deep link)
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.