Symptoms:
Alias : vCenter_FQDN
Entry type : Private Key
Certificate:
Data:
## Version:
## Serial Number:
##
Signature Algorithm: sha256WithRSAEncryption
Issuer: CN=CA, DC=vsphere, DC=local, C=US, ST=California, O=vCenter_FQDN, OU=VMware Engineering
Validity
Not Before: MM DD TT:MM:SS YYYY GMT
Not After : MM DD TT:MM:SS YYYY GMT
Subject: CN=vCenter_FQDN, DC=vsphere, DC=local, C=US, OU=mID-
Authority Information Access:
CA Issuers - URI:https://oldvCenterFQDN
vCenter Server
There is a stale certificate entry in the VECS store, associated with an expired certificate.
NOTE: Make sure all vCenters in ELM are shut down and take a snapshot of all nodes for backup. For standalone vCenters, a powered-on snapshot will be sufficient.
To un-publish expired stale certificates from VECS store:
/usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store vCenter_FQDN --alias vCenter_FQDN --output /var/core/old_machine.crt
/usr/lib/vmware-vmafd/bin/vecs-cli entry delete --store vCenter_FQDN --alias vCenter_FQDN -y
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store vCenter_FQDN
It is recommended to remove any expired or unused certificate in the VECS store which can also lead to similar issue mentioned above.