vCenter getting certificate status alarm "VMware vSphere Profile-Driven Storage Service has a warning status".
Example:
VMware vCenter Server 8.0.x
VMware vCenter Server 7.0.x
This alert occurs when there are expired certificates in the SMS store.
As per the output from :
Note: Please ensure a snapshot of the vCenter Server is taken prior to performing the below steps. If the vCenter Servers are operating in Linked Mode, it is recommended to take offline snapshots without memory to avoid potential inconsistencies.
Delete the SMS certificate using the below steps:
Backup:
/usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store SMS --alias alias_name
Delete:
/usr/lib/vmware-vmafd/bin/vecs-cli entry delete --store SMS --alias alias_name -y
Example: /usr/lib/vmware-vmafd/bin/vecs-cli entry delete --store sms --alias sms_self_signed -y
Run the below command to refresh
/usr/lib/vmware-vmafd/bin/vecs-cli force-refresh
#Also the alias name can be in the following form of a link 'https://fqdn:9080/version.xml' instead of an alpha-numeric ID.