After a successful certificate replacement on a vCenter component in VMware Cloud Foundation (VCF) Operations 9.1, the automated post-update re-trust step for VMware Aria Automation fails
Failed to retrust AUTOMATION truststore (errorCode=certificate.retrust.error)" /storage/log/vcops/logs/vcops-bridge-<uuid>.log reports,
YYYY-MM-DDTHH:MM:SS INFO vcfops-bridge [...threadName="TasksManager-TaskHandler-..."] [com.vmware.vcops.bridge.server.vcf.certificate.task.SddcTaskResponseHandler.handleResult] - Got the results from Controller <nmp-task-id>, result: VcfCertificateGenericTaskResult( taskId=<task-id>, taskResponseResult=VcfCertTaskApplianceDetails{applianceIpOrFqdn='<vcenter-fqdn>', applianceType='VCENTER'}, taskStatus=FAILED, errors=[VcfCertError(message=Failed to retrust AUTOMATION truststore, errorCode=certificate.retrust.error)] )
/storage/log/vcops/log/ManagementAdapter_<instance>.log reports,YYYY-MM-DDTHH:MM:SS ERROR ManagementAdapter 26343 [ops### threadId="###" threadName="TasksManager-AsyncNMPTaskThread--2" instanceId="##"] [(81) com.vmware.adapter.management.components.certificate.manager.RetrustUtil.uploadCertificateToVcfa] - Error importing certificate to VCFA FQDN: 400 BAD_REQUEST - {"minorErrorCode":"VCD_###","message":"Single certificate required but a certificate chain was provided","stackTrace":"com.vmware.vcloud.api.rest.toolkit.exceptions.BadRequestRestApiException: Single certificate required but a certificate chain was provided\n\tat com.vmware.vcloud.api.rest.openapi.impl.ssl.TrustedCertificatesApiHandler.apiModelToSpec(TrustedCertificatesApiHandler.java:206)\n\tat com.vmware.vcloud.api.rest.openapi.impl.ssl.TrustedCertificatesApiHandler.trustCertificate(TrustedCertificatesApiHandler.java:132)..."}
YYYY-MM-DDTHH:MM:SS ERROR ManagementAdapter 26343 [ops@### threadId="###" threadName="TasksManager-AsyncNMPTaskThread--2" instanceId="##"] [(81) com.vmware.adapter.management.components.certificate.manager.RetrustUtil.importCertificateToVcfa] - Failed to import certificate to VCFA:FQDNYYYY-MM-DDTHH:MM:SS ERROR ManagementAdapter 26343 [ops@### threadId="###" threadName="TasksManager-AsyncNMPTaskThread--2" instanceId="##"] [(81) com.vmware.adapter.management.components.certificate.CertificateComponent.invokeRetrustCertificateAction] - Failed to retrust for FQDN to trust VCENTER YYYY-MM-DDTHH:MM:SS ERROR ManagementAdapter 26343 [ops@### threadId="###" threadName="TasksManager-AsyncNMPTaskThread--2" instanceId="##"] [(81) com.vmware.adapter.management.components.certificate.util.CertUtil.updateErrorDetailsInTask] - certificate.retrust.errorWhen VCF Operations completes a certificate replacement, it automatically attempts to update the trusted-certificates store on each connected component. During the retrust phase for Aria Automation (VCFA), VCF Operations sends the CA certificate. VCFA requires that certificates are imported one at a time. If the CA chain includes intermediate certificates, the automated retrust incorrectly submits the entire multi-level chain as one payload, causing VCFA to reject it.
Broadcom is aware of this issue. A permanent fix is planned for a future release.
Note: Aria Automation version 9.0 and newer generally does not require this re-trust step for connectivity. The workaround below is only necessary if connectivity between Aria Automation and vCenter is broken.
Workaround: Manual Certificate Trust
For further assistance, see Contact Support. Scroll to the bottom of the page and click on your respective region.