ESXi valid SSLTo have a valid SSL certificate on ESXi webUI (not VCSA) you need to replace rui files in /etc/vmware/ssl/.