VMware vCenter server 8.0
VMware vSphere ESXi 8.0
This is a known issue for 8.0.x versions.
When Config.HostAgent.ticketing.thumbprintTypes is set to sha256, the existing sha1 thumbprint part of the sslThumbprint field of the VirtualMachine ticket is unset. As a result the UI server is sending the plain ticket pointing to the ESXi host to the browser and the browser tries to connect directly to the ESXi host when trying to access the web console.
The connection fails because either the ESXi host is not accessible from the client browser, or the TLS certificate of the ESXi host is not trusted by the browser.
Issue is fixed in vCenter and vSphere 9.0 version.
Starting from 9.x web console relies on full certificates instead of certificate thumbprints. If both the vCenter server and the ESXi hosts are in version 9.x, the issue is not observed.