Error:"Received fatal alert: handshake_failure" when uploading an OVF template
search cancel

Error:"Received fatal alert: handshake_failure" when uploading an OVF template

book

Article ID: 388196

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Uploading an OVF template to VMware Cloud Director (VCD) fails with the error below:

    [ ########-####-####-########0742 ] Received fatal alert: handshake_failure
  • In /opt/vmware/vcloud-director/logs/vcloud-container-debug.log the below entry is seen:

    DATE TIME | DEBUG    | vim-proxy-activity-pool-47 | ImportVAppFromOvfActivity      | Exception while attempting OVF import. | requestId=########-####-####-########5ada,request=POST https://cloud.example.com/api/catalog/########-####-####-########5c38/action/upload,requestTime=1738315360935,remoteAddress=##.##.##.##:61641,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+xml;version 40.0.0-alpha vcd=########-####-####-########7bc9,task=########-####-####-########9489 activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:########-####-####-########9489) activity=(com.vmware.vcloud.vdc.impl.CreateStoredVmActivity,urn:uuid:########-####-####-########0668) activity=(com.vmware.vcloud.fabric.storage.storedVm.impl.CreateVmFromImportActivity,urn:uuid:########-####-####-########0fbf) activity=(com.vmware.vcloud.val.internal.impl.ImportVAppFromOvfActivity,urn:uuid:########-####-####-########ab5e)
        com.vmware.ssdc.util.LMException: Received fatal alert: handshake_failure
                at com.vmware.ssdc.util.LMException.wrap(LMException.java:135)
                at com.vmware.ssdc.library.vim.LmVim.Convert(LmVim.java:513)
                at com.vmware.vcloud.val.internal.impl.ImportVAppFromOvfActivity$ImportOvfToVcPhase.invoke(ImportVAppFromOvfActivity.java:280)
                at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:175)
                at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:112)
                at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                at java.base/java.lang.Thread.run(Thread.java:829)
        Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
                at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)

Environment

VMware Cloud Director 10.x

Cause

The issue is caused by a mismatch in the cipher enabled on the VMware Cloud Director (VCD) cells and the ESXi host.

 

Resolution

The ciphers enabled on VCD and ESXi hosts must be the same.
Check and enabled the same set of cipher on the VCD cells and  ESXi hosts.
Visit the documentation at Managing the List of Allowed SSL Ciphers in VMware Cloud Director to enable and/or disable ciphers on the VCD cells.