When configuring the nutanix_monitor probe with an SSL connection, the probe fails to connect. The probe logs show that it fails to find a valid certificate:
Jan 14 10:04:05:583 [Connection tester - 0, nutanix_monitor] com.ca.uim.probe.nutanix_monitor.service.NutanixWebServiceException: Failed to connectjavax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Checking the packets with Wireshark also show that certificate is unknown:
The nutanix_monitor does not automatically accept self-signed certificates, or a certificates signed by an internal enterprise CA. These are not trusted by default. Therefore, the probe's HTTPS client (Java) rejects the connection silently or with SSL handshake errors.
To allow self-signed or interally signed certificates, these need to be manually added to the keystore. You can do this using the following steps: