You will get this error:

Failed to connect to VMware Lookup Service.
SSL certificate verification failed.

after you changed VCSA hostname.

To solve it:

1. Go to http://<vcenter ip address or fqdn>:5480

2. Click “Admin” Tab

3. Click “Toggle certificate setting” under “Actions”

4. Restart the vCenter Server Appliance

5. During the restart the certificates will be regenerated

6. Click “Admin” Tab and disable the “Toggle certificate setting”