Administrators may need to verify that the Trusted Root certificates displayed in the vCenter Server UI match the entries in the VMware Endpoint Certificate Store (VECS). When comparing the output from the VECS CLI to the vSphere Client UI, the Serial Number formats differ, which can cause confusion during certificate validation or troubleshooting.
VMware vCenter Server
The vSphere Client UI displays the certificate Serial Number in decimal format, whereas the vecs-cli command-line utility outputs the certificate Serial Number in hexadecimal format.
To verify and match the certificate entries:
Log in to the vSphere Client.
Navigate to Home > Administration > Certificates > Certificate Management > Trusted Root.
Identify the target certificate and note its decimal Serial Number.
Connect to the vCenter Server Appliance via SSH and log in as the root user.
Run the following command to list the trusted root certificates in VECS: /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store TRUSTED_ROOTS --text | less
Locate the matching certificate in the CLI output.
Convert the decimal Serial Number from the UI to hexadecimal (or vice versa) to confirm that the entries are identical.