root or vcf-svc account on an ESXi host via SDDC Manager fails.Message: Validation of password of ESXi host: <HOST_FQDN> has failedRemediation Message: Check if the password used to connect to ESXi host is validCause: org.bouncycastle.tls.TlsFatalAlert: certificate_unknown(46)Cause: javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchorslookup_passwords utility on the SDDC Manager allows for a successful direct SSH connection to the affected ESXi host./var/log/vmware/vcf/domainmanager/domainmanager.log or operationsmanager.logreveals one of the following underlying SSL/TLS certificate exceptions:YYY-MM-DDThh:mm:ss.sss+0000 DEBUG [vcf_om,###############################,####] [c.v.v.s.t.DynamicTrustManager,om-exec-16] Error checking certificate chain EMAILADDRESS=vmca@vmware.com, CN=<HOST_FQDN>, OU=VMware Engineering, O=VMware, L=Palo Alto, ST=California, C=US for validity.
java.security.cert.CertificateException: No issuer certificate for certificate in certification path found.Cause: javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchorsThe workload domain vCenters current VMCA root certificate does not exist in the SDDC Managers trusted certificates store and/or cacerts store.
This can be verified as follows on the SDDC Manager -
root.pass=$(cat /etc/vmware/vcf/commonsvcs/trusted_certificates.key)keytool -list -v -keystore /etc/vmware/vcf/commonsvcs/trusted_certificates.store -storepass $pass | lessThe current VMCA root certificate will not appear in the output.
To resolve this issue and re-establish trust, you must import the vCenter Server's active VMCA root certificate into both the SDDC Manager's trusted certificates store and the Java cacerts keystore.
For step-by-step instructions on how to perform this import, refer to the following article:
Import the vCenter root certificate into the SDDC manager TrustStore