Hello -
I've got a vCenter server that is throwing a Certificate Status Alarm, and its specifically alarming about a CSR not a cert expiring.
I ran the following command to list all of the certs:
for store in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list | grep -v TRUSTED_ROOT_CRLS); do echo "[*] Store :" $store; /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $store --text | grep -ie "Alias" -ie "Not After";done;
There are no certs expired.
The cert that the alarm is complaining about isn't actually a cert - its a CSR


Any ideas how to remove the CSR without borking the whole thing? Or even better, any ideas how to make the alarm only trigger for expiring certs and not CSR's?
Its really not hurtning anything, just driving me nuts that its there.
I have 100% validated that its the CSR - if I reset the alarm to green, it will come back. If I generate a new CSR, it will not alert until the next day when that CSR expires.