
curl -k -v https://<ESXi-IP>:443
echo | openssl s_client -connect <ESXi-IP>:443
The following errors are observed in the HCX Manager /common/logs/admin/app.log :
<timestamps> UTC [OvfUploadService_SvcThread-1, Ent: HybridityAdmin, , TxId: TxId: #####-####-####-####-############] INFO c.v.v.h.s.ovfupload.OvfUploadJob- Uploading file file:/common/appliances/vcc/4.11.0.0/VCCGateway-4.11.0.0-24449347-disk1.vmdk to https://<ESXi-IP/FQDN>/nfc/#####-####-####-####-############/disk-0.vmdk
<timestamps> UTC [OvfUploadService_SvcThread-1, Ent: HybridityAdmin, , TxId: TxId: #####-####-####-####-############] ERROR c.v.v.h.s.ovfupload.OvfUploadJob- Error in uploading Ovf javax.net.ssl.SSLHandshakeException: null
<timestamps> UTC [OvfUploadService_SvcThread-1, Ent: HybridityAdmin, , TxId: TxId: #####-####-####-####-############] WARN c.v.v.h.s.ovfupload.OvfUploadJob- Error of unknown type : javax.net.ssl.SSLHandshakeException
<timestamps> UTC [InterconnectService_SvcThread-1, IX:########-####-####-####-############, J:76f521d4, , TxId: TxId: #####-####-####-####-############] ERROR c.v.v.h.s.i.DeployAppliance- OvfUpload failed, errorCode:null. stacktrace:null, errorMessage:null. Cause: null
<timestamps> UTC [InterconnectService_SvcThread-1, IX:########-####-####-####-############, J:76f521d4, , TxId: TxId: #####-####-####-####-############] ERROR c.v.v.h.s.i.DeployAppliance- DeployAppliance failed in state CHECK_UPLOAD_OVF. Error: Interconnect Service Workflow OvfUpload failed. Error: null. Cause: null.
java.lang.RuntimeException: Interconnect Service Workflow OvfUpload failed. Error: null. Cause: null
The following logs, located in /var/run/log/envoy.log , can be found on the ESXi host where the OVF upload was attempted. The ESXi host IP/FQDN can be obtained from the HCX app.log mentioned above.
<timestamps> In(166) envoy[2103006]: "<timestamps> info envoy[2103361] [Originator@6876 sub=connection] [Tags: "ConnectionId":"53939"] remote address:<HCX-IP>:34384,TLS_error:|268436502:SSL routines:OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_UNKNOWN"
<timestamps> In(166) envoy[2103006]: "<timestamps> info envoy[2103359] [Originator@6876 sub=connection] [Tags: "ConnectionId":"53970"] remote address:127.0.0.1:62941,TLS_error:|33554536:system library:OPENSSL_internal:Connection reset by peer"
Validate the ESXi certificate thumbprint and match it with the thumbprint stored in the vCenter Database.
To obtain the SSL thumbprint of the ESXi host from the vCenter Database, SSH into vCenter and run the following command:
/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB -c "select id,dns_name,ip_address,host_ssl_thumbprint,expected_ssl_thumbprint from vpx_host;"
To obtain the thumbprint of the SSL certificate installed on the ESXi host, SSH into the ESXi host and run the following command:
openssl x509 -in /etc/vmware/ssl/rui.crt -text -fingerprint | grep -i finger
HCX
vCenter Server
ESXi
The issue was caused by a thumbprint mismatch between the host's current certificate and the thumbprint stored in the vCenter Database.
Disconnect all the ESXi hosts from the vCenter UI and reconnect them to update the vCenter Database with the current thumbprint.
OR
Restart the vpxa and hostd services on the ESXi host via SSH by executing the following commands:
/etc/init.d/vpxa restart/etc/init.d/hostd restart
After performing either of these steps, the OVF upload to the ESXi should work, and you should be able to successfully create a HCX Service Mesh.