Certificate status alarm with red exclamation mark
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://<vCenter_fqdn>
vCenter Server 7.0
vCenter Server 8.0
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. Please check the below article for snapshot best practices:
http://knowledge.broadcom.com/external/article/318825/best-practices-for-using-vmware-snapshot.html
To unpublish the expired, stale certificates from the 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
--store vCenter_FQDN
/usr/lib/vmware-vmafd/bin/vecs-cli store delete --name vCenter_FQDN
/usr/lib/vmware-vmafd/bin/vecs-cli store
list
service-control --stop --all && service-control --start --all
It is recommended to remove any expired or unused certificate in the VECS store which can also lead to similar issue mentioned above.