Symptoms:
- When you pair cloud sites in the vCloud Availability Provider Portal, the task fails and you see the following error:
Authentication required.
- When you repair cloud sites in the vCloud Availability Provider Portal, the task fails and you see the following error on the remote site entry:
Certificate differs from the expected one.
- In /opt/vmware/h4/cloud/log/cloud.log on the vCloud Availability vApp Replication Manager, you may see similar messages:
2019-08-26 14:37:09.484 DEBUG - [UI__2766ee5a-8f91-45d8-b913-2fa4c162b973_Dn_p2] [job-59] com.vmware.h4.jobengine.JobExecution : Task 702be530-5758-44f0-8a7c-39fe9599508c (WorkflowInfo{type='pair', resourceType='site', resourceId='Provider-Site', isPrivate=false, resourceName='Service Provider Site'}) completed with result VcloudSiteInfo{apiPublicUrl='null', isLocal=false, state=PeerState{incomingCommError=null, outgoingCommError=ApiError{code='RemoteAuthenticationFailure', msg='Authentication failure.', args=[], stacktrace='com.vmware.h4.cloud.api.exceptions.RemoteAuthenticationFailureException: Authentication failure.
at com.vmware.h4.cloud.peer.client.PeerCloudFactory.lambda$initErrorDeserializer$0(PeerCloudFactory.java:59)
at com.vmware.rest.client.AbstractRestClient.convert(AbstractRestClient.java:208)
at com.vmware.rest.client.json.RestClient.exchange(RestClient.java:103)
...
2019-08-26 14:47:34.011 ERROR - [UI__6049e825-796f-40ed-ac02-e63733894733_Ez] [https-jsse-nio-8443-exec-10] c.v.h.c.c.error.ExceptionAdvisorBase : A GET request from root[172.17.195.110] to /vm-replications/summary?sourceSiteType=vcloud&destinationSiteType=vcloud&site=Tenant-Site failed.
com.vmware.exception.CertificateMismatchException: java.security.cert.CertificateException: Certificate seen on the network differs from the certificate we expected
at com.vmware.exception.converter.ClientExceptionConverter.convertException(ClientExceptionConverter.java:50)
at com.vmware.rest.client.AbstractRestClient.genericExchange(AbstractRestClient.java:146)
at com.vmware.rest.client.json.RestClient.exchange(RestClient.java:96)
...
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.