"Generic error during the SSL Handshake" error when pairing On-Premises and Cloud Sites in Cloud Director Availabililty 4.x
search cancel

"Generic error during the SSL Handshake" error when pairing On-Premises and Cloud Sites in Cloud Director Availabililty 4.x

book

Article ID: 315027

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Symptoms:

  • When pairing a new Cloud Director Availability On-Premises Appliance with a Cloud Site, the pairing fails and you see the following error:
Generic error during the SSL Handshake.
  • In /opt/vmware/h4/replicator/log/replicator.log on the Cloud Director Availability On-Premises Appliance, you see entries similar to:
2020-10-07 13:08:18.811 ERROR - [########-####-####-####-########6973-ms] [job-3] com.vmware.h4.jobengine.JobExecution     : Task ########-####-####-####-########d20f (WorkflowInfo{type='pairWithCloud', resourceType='site', resourceId='null', isPrivate=false, resourceName='null'}) has failed

com.vmware.exception.GenericSSLException: Remote host terminated the handshake
    at com.vmware.exception.converter.ClientExceptionConverter.convertException(ClientExceptionConverter.java:64)
    at com.vmware.rest.client.AbstractRestClient.genericExchange(AbstractRestClient.java:152)
    at com.vmware.rest.client.json.RestClient.exchange(RestClient.java:97)
    at com.vmware.rest.client.json.RestClient.exchange(RestClient.java:128)


Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Environment

VMware Cloud Director Availability 4.x

Cause

This issue can occur when there are incorrect or missing DNS records for the Cloud Director Availability On-Premises Appliance.

Resolution

To resolve this issue, create forward and reverse DNS records for each Cloud Director Availability component and verify that they are returning the correct result when queried.