apiVersion=2019-01-15
Symptoms:
java.lang.RuntimeException: AWS was not able to validate the provided access credentials (Service: AmazonEC2, Status COde: 401, Error Code: AuthFailure, Request ID: <Request_UUID>", Proxy: null)
2022-01-13T08:03:40.465Z WARN provisioning [host=‘provisioning-service-app-xxxxxxxx-xxx’ thread=‘xn-index-queries-22’ user=‘provisioning-xxxxxxxxx’ org=‘’ trace=‘<Trace_UUID>’ parent=‘<Parent_UUID>’ span=‘<Span_UUID>’] c.v.xenon.common.ServiceErrorResponse.create:85 - message: Failed to validate resource, statusCode: 400, serverErrorId: 8xxxxa-axx1-4xx2-8xx1-fxxxxxxxx4: Caused by java.security.cert.CertificateExpiredException: NotAfter: Fri Sep 17 12:40:26 GMT 2021
{“message”:“920002: Invoked action completed with error. Error : Action ‘getAllVsphereCloudRegions’ in module ‘com.xxxxxx.library.vra.infrastructure’ failed : Get VsphereCloudAccountRegions Request Failed to completecom.vmware.photon.controller.model.adapters.vsphere.util.connection.BasicConnection$BasicConnectionException: Failed to connect to vCenter: Your certificate may be untrusted. To trust the certificate validate your account credentials and accept the untrusted certificate. Save your cloud account after validation succeeds. Error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (com.xxxxxx.library.vra.infrastructure/getAllVsphereCloudRegions#11).“,”messageId”:0,“stackTrace”:null,“statusCode”:400,“errorCode”:920002};
VMware vRealize Automation 8.5.x
VMware vRealize Automation 8.6.x
An issue has been identified in the Asynchronous Cloud Account IaaS API that was recently added in vRA 8.5.
This issue is resolved in VMware vRealize Automation 8.7 and above.
Workaround:
url-home/provisioning/config/toggles
{ "key": "iaas.api.tango.85.version.enabled", "value": "false" }