Symptoms:
- When pairing sites in vCloud Availability, you see the following error in UI:
Could not find SSL/X509 certificate from "https://Tunnel-Appliance-Public-address"
- In /opt/vmware/h4/replicator/log/replicator.log on the on-premises vCloud Availability appliance when pairing an on-premises site to a cloud site, you see similar error:
2019-04-30 15:36:17.366 ERROR - [UI__0ed9e5ac-5baa-4215-8238-1a4d1cacbb38_9d] [https-jsse-nio-8440-exec-5] c.v.h.c.c.error.ExceptionAdvisorBase : A GET request from root[192.168.110.10] to /config/remote-certificate?url=Tunnel-Appliance-Public-address%3A8048 failed.
com.vmware.h4.exceptions.common.FailedToRetrieveCertificateException: Could not find SSL/X509 certificate from 'Tunnel-Appliance-Public-address:8048'.
at com.vmware.h4.common.service.BaseConfigService.obtainCert(BaseConfigService.java:336)
at com.vmware.h4.common.service.BaseConfigService.getX509CertificateDetails(BaseConfigService.java:307)
at com.vmware.h4.common.service.BaseConfigService.getCertificate(BaseConfigService.java:148)
at com.vmware.h4.common.controller.BaseConfigController.getCertificate(BaseConfigController.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.