Updating nohost the hostname specified
Regenerate your host's self-signed certificate 1) Access the console of ESXi.If you have not done that before, follow the first three steps on this page.The static hostname is the default hostname the kernel references during boot, and in most instances, will be the one you want to concern yourself with.
if you try to join your ESXi host to a v Center server and get the error: "The SSL Certificate of the remote host could not be validated" you'll want to ensure that the root CA that issued the certificate is trusted by the v Center host at the "Computer account" level and not just for "My user account".
4) Open the file with a text editor and copy the contents.
If using Windows, avoid using Notepad as it may insert extra characters into the copied text.
Updating the SSL Certificate for your host Should you change your host's hostname or domain after an install, the SSL certificate for the host will still be issued to localhost.localdomain.
You can either regenerate a self-signed certificate for your ESXi host or replace the certificate from one generated by a certificate authority.