We need to review the certificates in the VMware Endpoint Certificate Store (VECS) to verify that the signing certificates of the other Linked-Mode vCenter Server nodes are present. If any are missing, we will import them
To resolve the issue, follow the steps below:
- SSH into the node which cannot see one or more of the Linked-Mode vCenter Servers nodes.
- Run the command below to get the output of the TRUSTED_ROOTS certificate store in the VECS:
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store TRUSTED_ROOTS --text | grep -E "Subject:|Issuer:|Not Before:|Not After|Alias"
You should see output similar to:
Alias : 9e#######c89d0c5c7d0aa####52c19e7913
Issuer: CN=<FDQN of VCSA2>, DC=vsphere, DC=local, C=US, ST=California, O=<FDQN of VCSA2>, OU=VMware Engineering
Not Before: <MM DD hh:mm:ss YYYY> GMT
Not After : <MM DD hh:mm:ss YYYY> GMT
Subject: CN=<FDQN of VCSA2>, DC=vsphere, DC=local, C=US, ST=California, O=<FDQN of VCSA2>, OU=VMware Engineering
Alias : 5######8ffdd3d508652855b9######0e0c51d19
Issuer: CN=<FDQN of VCSA1>, DC=vsphere, DC=local, C=US, ST=California, O=<FDQN of VCSA1>, OU=VMware Engineering
Not Before: <MM DD hh:mm:ss YYYY> GMT
Not After : <MM DD hh:mm:ss YYYY> GMT
Subject: CN=<FDQN of VCSA1>, DC=vsphere, DC=local, C=US, ST=California, O=<FDQN of VCSA1>, OU=VMware Engineering
Note: If the Issuer and Subject are the same, this indicates that it is a signing or root certificate.
- Review the CN value of the Issuer string for each signing certificate and check whether one signing certificate is present for each of the other nodes.
- Next, connect to each of the nodes for which the cert is missing and export the signing certificate from the TRUSTED_ROOTS store.
- From any node, import the missing signing certs into the VMware Directory Service (VMDIR) using the command below:
/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert PATH_TO_CERTIFICATE --login VSPHERE_ADMINISTRATOR;
For example:
/usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /tmp/certs/vcsa2_root.crt --login [email protected];
- Next, force a push of all certificates in VMDIR to the VECS on each node in the Linked-Mode environment using the command:
/usr/lib/vmware-vmafd/bin/vecs-cli force-refresh;
- Log out of the Web Client and back in to confirm that all nodes of the Linked-Mode are now showing in the vCenter Server inventory again.
For more information on dir-cli and vecs-cli, see
dir-cli Command Reference and
vecs-cli Command Reference.