To verify you are encountering vCenter/lookup service certificate issues, perform the following checks:
Lookup service certificate mismatch
- SSH to the Cloud Director Availability On-Premises appliance and log in as root.
- Run the following commands against the Platform Services Controller:
openssl s_client -connect PSC_Address:443 < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout
openssl s_client -connect PSC_Address:7444 < /dev/null 2>/dev/null | openssl x509 -fingerprint -noout
- Compare the outputs to determine if there is a mismatch.
vCenter Server certificate mismatch
- SSH to the Platform Services Controller and log in as root.
- Use the lstool script to get a list of the registered services on the PSC:
vSphere 6.x:
/usr/lib/vmidentity/tools/scripts/lstool.py list --url http://localhost:7080/lookupservice/sdk > /tmp/services.txt
vSphere 7.0:
/usr/lib/vmware-lookupsvc/tools/lstool.py list --url http://localhost:7090/lookupservice/sdk > /tmp/services.txt
- Open the services.txt file and search for the following section:
Service Type: vcenterserver
- Take note of the endpoint certificate for the service.
- Run the following command against the vCenter Server:
openssl s_client -connect vCenter_Address:443 < /dev/null 2>/dev/null | openssl x509
- Compare the certificates from steps 4 and 5 to determine if there is a mismatch.
To resolve any certificate mismatch issues use lsdoctor -t tool to fix the mismatch. Using the 'lsdoctor' Tool