ERROR [vcf_migration,0000000000000000,0000] [c.v.e.s.o.model.error.ErrorFactory,pool-5-thread-9] [49931G] FAILED_TO_GET_SDDC_MANAGER_ACCESS_TOKEN Failed to get SDDC Manager public api access token
com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Failed to get SDDC Manager public api access token
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://sddc01.example.com/v1/tokens": PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed; nested exception is javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
Caused by: java.security.cert.CertificateExpiredException: NotAfter: Thu Mar 14 19:12:37 UTC 2024
VMware Cloud Foundation 4.5.1
Old or unused certificates are stored in a trust store.
For VCF 4.x follow the below steps
/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager-ssl-util.sh -list | grep 'Alias name'
/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager-ssl-util.sh -delete <certificate alias name from list>
/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh
Reference document - Remove Old or Unused Certificates from SDDC Manager
For VCF 5.x follow the below steps