/VCF error commission hosts: Failed to connect to the host – Certificate Error

VCF error commission hosts: Failed to connect to the host – Certificate Error

In this second blog post about VCF and errors, I discuss this error, VCF error commission hosts: Failed to connect to the host – Certificate Error.

When we try to add hosts to VCF with commission hosts, I get the error: Failed to connect to the host. Ensure that the host is reachable, it has a valid certificate with a fully qualified domain name in its Common name, and credentials are valid.

I know that it’s reachable, and the credentials are ok, so the only thing that could have a problem is the certificate.

I remember that I needed to change the Hostname for this ESXi, but I did not double-check the domain. So I need to check the Domain name, Fully Qualified Domain Name, and Hostname.

This can be done with a simple command in the ESXi shell: esxcli system hostname get


As we can see above, I had an extra domain-subdomain from my router(which was set by DHCP in the ESXi install first boot), and the initial certificate was using the DHCP domain.

So I need to set the proper domain with: esxcli system hostname set –domain vmwarehome.lab, generate new certificates with /sbin/generate-certificates, reboot, and try again.

After rebooting ESXi, try again to validate the ESXi host, and all is green. This means that VCF did not find any configuration errors in the VCF commission checklist criterion.


ESXi host is validated and now ready to be added to VCF.

Again, this simple blog post shows another example: sometimes, a simple solution is enough to fix a problem that can take many hours to troubleshoot.

Other VCF errors blog posts:

Share this article if you think it is worth sharing. If you have any questions or comments, comment here, or contact me on Twitter.

©2022 ProVirtualzone. All Rights Reserved
By | 2022-05-30T22:41:24+02:00 May 30th, 2022|VCF, VMware Posts|0 Comments

About the Author:

I am over 20 years’ experience in the IT industry. Working with Virtualization for more than 10 years (mainly VMware). I am an MCP, VCP6.5-DCV, VMware vSAN Specialist, Veeam Vanguard 2018/2019, vExpert vSAN 2018/2019 and vExpert for the last 4 years. Specialties are Virtualization, Storage, and Virtual Backups. I am working for Elits a Swedish consulting company and allocated to a Swedish multinational networking and telecommunications company as a Teach Lead and acting as a Senior ICT Infrastructure Engineer. I am a blogger and owner of the blog ProVirtualzone.com

Leave A Comment