Register agent for updates SSL CERTIFICATE_VERIFY_FAILED

CMK version: 2.3.0p26
OS version: Ubuntu 22.04

**Error message: HTTPSConnectionPool(host=‘master-monitor.dragosiz.lab’, port=443): Max retries exceeded with url: /monitormast/check_mk/register_agent.py (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1000)’)))
See syslog or Logfile at /var/lib/check_mk_agent/cmk-update-agent.log for details.
**
Hello!

I am in the process of generating a distributed monitoring from 0, I have made the necessary configurations to be able to make the automatic updates of the agents (in images of the configuration below) in this case I run into the error of the verification of the certificate when I try to register the agents against their satellite site, if I do it against the central directly this does not happen, which has never happened to me, only when I tried to register a host through IP instead of by name.

The debug steps I have followed are as follows:
Add the central host certificate to the trusted certificates in “global settings > Trusted certificate authorities for SSL”.
Add both the satellite and central site certificate in the auto update configuration.
Add the ssl certificate to the trusted certificates of the satellite VM

This is my current configuration:



Agent Updater for Satellite

Did you manually install the current agent version on the hosts after changing the agent updater config?

Hi Udo

Yes, of course.
Every time I ran a test, I uninstalled the agent and deleted the ProgramData and Program Files x86 folders.