When Importing a Certificates in SDDC that has been signed by an external Certificate authority validations fails with:
Validation failed! Could not import. Check information below and try again.
{"code":"CERTIFICATE_VALIDATION_HAS_FAILED","args":["FQDN","Public key in CSR and server certificate are not matching,"]}
VCF 5.x
The reported issue is due to private key stored in SDDC DB not match with the generated certificate.
The certificate was generated from an older CSR.
For Generating a new certificate to install into SDDC Manager, the private key associated with the newly generated CSR is needed to create a valid Certificate that matches the private Key that SDDC manager has stored.
Please see documentation for steps on CSR generation in SDDC Manager: