There are a number of possible misconfigurations; the troubleshooting steps are listed below...
- Validate that you can open a remote console for a given VM in the underlying vCenter. If you cannot, VCD will not be able to either
- Verify that the SSL certificate imported in each cell is also imported into the "Public Addresses" tab in the provider portal. The easiest way to do this is to grab the .pem file from one of the appliances and use the built-in UI feature to import that file directly on the "Public Addresses" page
- Verify that the vCenter VMCA certificate is imported and trusted in the "Trusted Certificates" tab in the provider portal.
- Trust infrastructure certificates:
./cell-management-tool trust-infra-certs --vsphere --unattended
- Set the httptransfer.useVcenterUrl configuration to false:
./cell-management-tool manage-config -n vcloud.val.httptransfer.useVcenterUrl -v false
- If the remote console still cannot connect, verify that the LB configuration is not breaking the connection
Workaround:
- For version 10.4, you can workaround this issue by enabling the Legacy Console Proxy Feature Flag, however, this is not available in later versions
- All ESXi Certificates should be automatically trusted under the umbrella of our trusted VMCA certificate. Circumstances may exist where there is a trust issue with the ESXi certificate in which we need to take additional actions to remedy.
- The best option is to try and repair the certificate relationship by performing a Renew from the vSphere Client Inventory. This will usually automatically fix any VCD related trust issues with the ESXi hosts.
- Alternatively, if that does not resolve the issue, we can:
- Create a test VM
- Identify the host on which that VM is running.
- Grab the FQDN of that host and browse to it in a browser.
- Using built-in browser functionality, download the certificate for that host
- Import it into the "Trusted Certificates" tab.
- This will manually trust the ESXi certificate and usually allow a successful console connection when there is an certificate trust issue related to the ESXi host.