After replacing the vCenter Machine SSL certificate with a custom certificate, a "certificates about to expire" alert may persist in the vSphere UI. This issue occurs when an expired issuer certificate remains in the TRUSTED_ROOTS store, causing the UI to trigger a false-positive warning despite the Machine SSL certificate being valid.
VMware vCenter Server 7.x
VMware vCenter Server 8.x
An expired issuer certificate is present in the TRUSTED_ROOTS store. When using custom certificate replacement utilities, the existing trust chain is not always fully cleaned, leaving stale root anchors that are validated by the vSphere Client.
To resolve this issue, perform the following steps to clean the certificate store:
TRUSTED_ROOTS store: /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store TRUSTED_ROOTS --text | egrep "Alias|Not After"TRUSTED_ROOTS store: /usr/lib/vmware-vmafd/bin/vecs-cli entry delete --store TRUSTED_ROOTS --alias <alias_to_delete>TRUSTED_ROOTS store manually using the vecs-cli tool.service-control --stop --all service-control --start --allIf the alert persists, verify the BACKUP_STORE in VECS for additional stale entries using vecs-cli entry list --store BACKUP_STORE --text.