An error in the task bar indicates that users are unable to add an ESXi host to vCenter Server due to an unverifiable ESXi certificate.
A general system error occurred: Failed to verify certificate on <ESXi-FQDN-or-IP>. When ESXi Certificate Mode is set to custom it is mandatory to install valid certificate on ESXi host before adding the host to VC
This article is applicable when custom CA certificate isn't required on ESXi.
The underlying cause is an incomplete or improperly configured certificate trust chain.
1. Enable maintenance mode on ESXi host.
2. Verify the vCenter Server is configured with the correct certificate mode.
vpxd.certmgmt.mode setting. Ensure this value matches the certificate type used by the ESXi hosts (VMCA, thumbprint, or custom CA). If there is a mismatch, the hosts will fail to connect. To locate this setting, refer to the following technical documentation: Change the Certificate Mode. 3. Back up the SSL certificate being used.
mv /etc/vmware/ssl/rui.crt /etc/vmware/ssl/rui.crt.bak
mv /etc/vmware/ssl/rui.key /etc/vmware/ssl/rui.key.bak
4. Re-generate SSL certificate.
/sbin/generate-certificates
5. Restart services to get new SSL certificate to take effect.
services.sh restart
6. After resetting the certificate to ESXi self-signed, verify the change by navigating to the ESXi Host Client and selecting Host > Manage > Security & users > Certificates.
7. Exit maintenance mode on ESXi host.
To revert to the previous SSL certificate, follow these steps:
mv rui.crt.bak rui.crtmv rui.key.bak rui.key
services.sh restart
Host > Manage > Security & users > Certificates.