Host is out of compliance with desired configuration
com.vmware.vcIntegrty contains a vSphere Configuration Plugin file that failed to Download('The server certificate does not match the provided')
/var/log/vmware/vmware-updatemgr/vum-server/pluginrunner.log, you see error similar to:
Unable to download com.vmware.vcIntegrity plugins
...
SSLCertVerificationError('The server certificate does not match the provided certificate')
VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x
This issue occurs, when the certificate chain for the vCenter machine SSL certificate stored in /etc/vmware-vpx/ssl/rui.crt is not in the correct order Leaf > Intermediary CA > Root CA (from top to bottom).
Output from executing command identifies the certificate chain is in the incorrect order:# openssl s_client -connect VC_FQDN:443 -showcerts
For example the chain might be in this order:
-----BEGIN CERTIFICATE-----(leaf certificate)-----END CERTIFICATE----------BEGIN CERTIFICATE-----(root CA certificate)-----END CERTIFICATE----------BEGIN CERTIFICATE-----(intermediary CA certificate)-----END CERTIFICATE-----When the Certificate should be chained as follows:
See KB, How to correctly chain custom certificate for vCenter-----BEGIN CERTIFICATE-----(leaf certificate)-----END CERTIFICATE----------BEGIN CERTIFICATE-----(intermediary CA certificate)-----END CERTIFICATE----------BEGIN CERTIFICATE-----(root CA certificate)-----END CERTIFICATE-----
To fix this issue, please make sure that a fresh backup or snapshot of the vCenter Server Appliance (VCSA) exists. If the affected VCSA is part of an Enhanced Linked Mode (ELM) replication setup, please keep in mind that you need to have offline snapshots (in powered off state) of all of the ELM members. Then take the following steps:
rui.crt file using the VI editor:
vi /etc/vmware-vpx/ssl/rui.crt
-----BEGIN CERTIFICATE-----
(leaf certificate)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(intermediary CA certificate)
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
(root CA certificate)
-----END CERTIFICATE-----
service-control --stop --all && service-control --start --all