BACKUP_STORE or BACKUP_STORE_H5C in VECS.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;Replacing certificates in the vCenter Server Appliance creates two backup stores: BACKUP_STORE and BACKUP_STORE_H5C. During the replacement process, vCenter saves old certificates to these stores to allow for a rollback. If any entry in these stores expires or approaches expiration, the vSphere Client displays a Certificate Status Alarm.
The script previously attached to this KB is deprecated.
Option 1:
Use the new, improved certificate management tool, vCert - Scripted vCenter Expired Certificate Replacement, for all certificate management and replacement workflows.
vCert script on the vCenter Server Appliance as described in Installation Section. Manage Certificates menu, select Option 12: Clear expired certificates in BACKUP_STORE in VECS to remove the expired certificates from the backup stores.vCert tool to the VCSA. For troubleshooting details, see KB article Connecting to vCenter Server Virtual Appliance using WinSCP fails with the error: Received too large (1433299822 B) SFTP packet. Max supported packet size is 1024000 B.root.
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store BACKUP_STOREBACKUP_STORE./usr/lib/vmware-vmafd/bin/vecs-cli entry delete --store BACKUP_STORE --alias <cert_alias>