Werk #16775: agent_prism: fix SSL certificate verification

Component Checks & agents
Title agent_prism: fix SSL certificate verification
Date Jul 24, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0p32 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This werk impacts those who monitor Nutanix Prism Clusters.

The agent was not correctly connecting to the Nutanix Prism endpoint because it used the IP address of the endpoint instead of its hostname, which prevented certificate verification.

Now, the agent validates the certificate by comparing the name in the certificate with the hostname known to Checkmk. Alternatively, it correctly avoids certificate verification if the relevant flag is active.

To the list of all Werks