/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /fix/ssoamica.crt --chain
/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /fix/ssoamica.crt --chain
Error occurred while adding trusted root certificates: com.vmware.vapi.std.errors. Error, create trusted root chain failed: Certificate bearing subject... is not a valid CA certificate. Please retry with a valid certificate chain
Check ADFS LDAPS certificates-----------------------------------------------------------------Certificate 1 EXPIREDCertificate 2 VALID
Checking SSL Trust Anchors-----------------------------------------------------------------<VCSA FQDN> MISMATCH<VCSA FQDN> VALID
vCenter 7.x
vCenter 8.x
SSL Trust Mismatch or Anchor Mismatch errors typically stem from expired certificates or broken chains, which cannot be resolved through the UI as the underlying certificate structure remains invalid.
To resolve SSL Trust Mismatch errors caused by expired certificates and misconfigured trust anchors:
Download Certificates : Manually download each certificate in the trusted CA chain as a Base64 .crt file.
/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /path/to/file1.crt --chain/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /path/to/file2.crt --chain/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /path/to/file3.crt --chain
2. Force Refresh : After publishing the certificates, force a refresh to ensure the system recognizes the new trusted certificates:
/usr/lib/vmware-vmafd/bin/vecs-cli force-refresh
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store trusted_roots --text