When performing Enhanced Replication Mappings or health checks between sites, the following error occurs:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target'.This issue typically arises after a host upgrade or host certificate renewal.
The internal Host Management Service Database (VRDB) tables are not updated with the host's new SSL thumbprint because the configuration file /opt/vmware/hms/conf/hms-configuration.xml contains an invalid value.
Specifically, a parameter expected to be a Boolean (true/false) is set to a string value such as offline. This prevents the Host Management Service (HMS) from signaling a reconnection using the new certificate.
cp /opt/vmware/hms/conf/hms-configuration.xml /opt/vmware/hms/conf/hms-configuration.xml.bakvi /opt/vmware/hms/conf/hms-configuration.xml<hms-auto-install-hbragent-vib>offline</hms-auto-install-hbragent-vib>). systemctl restart hms