"Disconnected from host. Reason: Cannot verify the SSL trust."“no healthy upstream” is displayed./var/run/log/hostd.log:YYYY-MM-DDTHH:MM:SS Er Hostd[]: [Originator@yyyy sub=Solo] Failed to create SSL context: N7Vmacore3Ssl12SSLExceptionE(SSL Exception: error:x509 certificate routines::no certificate or crl found)vSphere ESXi 8.x
An expired or invalid SSL certificate on an ESXi host can cause the hostd management agent to fail, preventing vCenter communication and the vSphere Host Client UI inaccessible.
Regenerate the host’s SSL certificate through the Direct Console User Interface (DCUI).
Accessing troubleshooting options:
From the main DCUI screen, press F2 to open the “Customize the System” menu.
Enter the root password when prompted to log in.
Use the arrow keys to navigate to Troubleshooting Options and press Enter.
Select Enable ESXi Shell and press Enter to allow local shell access.
From the main DCUI screen, press Alt + F1 to switch to the shell and Alt + F2 to return to the DCUI.
openssl s_client -connect <esxi_host_ip>:443 -showcerts
mv /etc/vmware/ssl/rui.crt /etc/vmware/ssl/orig.rui.crtmv /etc/vmware/ssl/rui.key /etc/vmware/ssl/orig.rui.key/sbin/generate-certificatesls -la /etc/vmware/ssl//etc/init.d/hostd restart/etc/init.d/vpxa restart