Some solutions, such as VMware vCenter Site Recovery Manager, VMware vSphere Replication, or VMware vCenter Support Assistant are always installed on a different machine than the vCenter Server system.
If you replace the machine SSL certificate of a vCenter Server system with an embedded Platform Services Controller, a connection error results when the solution attempts to connect to the vCenter Server system. The reason is that the vCenter Server system uses a new certificate, but the corresponding registration with the VMware Lookup Service is not updated. When solutions connect to vCenter Server, they use the service registration information, which includes the service URL and the sslTrust string. The sslTrust string is the Base 64 encoded certificate.
This article explains how to resolve the issue in environments with vCenter Server 7.0 which is by default with Embedded Platform Services Controller.
Refer to below KBs for 6.x environments:
You can retrieve the new certificate or current machine ssl certificate using vecs-cli:
The ls_update_certs.py script is located at /usr/lib/vmware-lookupsvc/tools/
Sample result:
[email protected] [ /usr/lib/vmware-lookupsvc/tools ]# python ls_update_certs.py --url https://vcenter.example.local/lookupservice/sdk --fingerprint ##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:## --certfile /certificates/new_machine.crt --user [email protected] --password 'Password' 2>/dev/null Get service ########-####-####-####-########53b6 Update service ########-####-####-####-########53b6; spec: /tmp/svcspec_hvu8kxs8 Get service ########-####-####-####-########c392 Update service ########-####-####-####-########c392; spec: /tmp/svcspec_kost4p0i . . Get service ########-####-####-####-########bfdc Don't update service ########-####-####-####-########bfdc Get service ########-####-####-####-########c918 Don't update service ########-####-####-####-########c918 Updated 41 service(s) [email protected] [ /usr/lib/vmware-lookupsvc/tools ]#
LS_URL | Lookup service URL. On the vCenter Server, use the following URL as a model: https://external_platform_services_controller_FQDN.example.com/lookupservice/sdk |
OLD_CERT_SHA1_HASH |
Thumbprint of the certificate that vCenter Server used before certificate replacement acquired in Task 2.
Note: VMware does not recommends to find the old vCenter Server certificate in the filesystem.
|
NEW_CERT_PEM_FILEPATH |
PEM encoded file of the new vCenter Server machine SSL certificate acquired in Task 3.
Use the file that you just passed in as part of certificate replacement. If you no longer have that file, use the process in Retrieving the New Certificate.
Note: Attempting to find the new vCenter Server certificate in the filesystem is not recommended.
|
USER and PASSWORD | User with administrator privileges for vCenter Single Sign-On. |