We experimented the following problem when trying to configure vCloud Director settings from Zerto Virtual Manager or Enabling vCD BC/DR during the installation of Zerto 7 U2:
- Zerto virtual manager Install logs (location: C:\ProgramData\Zerto\InstallLog)
Zerto.Zvm.Platform.VCD.Proxy.VCDProxy,Connect,Failed to login to ‘https://vcloudirectoraddress/api’ with username ‘Administrator@system’. Please verify the server address and credentials are correct
Please verify the server address and credentials are correct. Exception is One or more errors occurred.,”com.vmware.vcloud.sdk.utility.VCloudRuntimeException Void Login(System.String, System.String)
com.vmware.vcloud.sdk.utility.VCloudRuntimeException: One or more errors occurred. —> System.AggregateException: One or more errors occurred. —> System.Net.Http.HttpRequestException: An error
occurred while sending the request. —> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. —>
System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
We discovered that the vCD certificate’s ‘common name’ is not the same as the one entered in ZVM vCD settings.
When a certificate is generated, there is a field ‘common name’ defined. SSL certificate is sensitive to Common Name. If you are connecting the server by IP or a different domain name, even they are pointing to same server, it won’t work.
From a Web browser Copy the common name from certificate properties and enter the name in ZVM vCD Cloud Settings or during the installation. Then the ZVM is able to connect to vCD
I hope this article is helpful!