[bringup,67937cb9dec3b5fb66b496bdcd12556f,6874] ERROR [c.v.e.s.v.v.EsxiHostValidator,pool-2-thread-10] Error occurred while validating ESX host<FQDN>com.vmware.vim.vmomi.client.exception.SslException: javax.net.ssl.SSLPeerUnverifiedException: Certificate for <FQDN> doesn't match any of the subject alternative names: [localhost.localdomain]"error found during configuration file validation"Failed to get SSH key ESXi host <FQDN>Failed to get SSH Key For ESX Host <fqdn>.Error connecting to ESX Host <fqdn>.SSL Certificate common name doesn't match ESX FQDN"VMware Cloud Foundation 9.x
This Issue would occur if there is no matching FQDN for the hosts in the Certificate's subject alternative names and validate the vLAN ID's matching the deployment playbook.
To re-generate ESXi host certificate to match subject alternate name (SAN) with ESXI host FQDN , refer the following steps.
/sbin/generate-certificates
rebootopenssl x509 -in /etc/vmware/ssl/rui.crt -noout -textX509v3 Subject Alternative Name should match the ESXi host FQDN