To resolve the issue, add the proxy certificate to the vCenter Server trusted root store.
- Copy the certificate to the vCenter Server
- Log in to vCenter Server with SSH.
- List the available stores in VECS with this command: /usr/lib/vmware-vmafd/bin/vecs-cli store list
For example:
root@vcsa1 [ ~ ]# /usr/lib/vmware-vmafd/bin/vecs-cli store list
MACHINE_SSL_CERT
TRUSTED_ROOTS
TRUSTED_ROOT_CRLS
machine
vsphere-webclient
vpxd
vpxd-extension
APPLMGMT_PASSWORD
data-encipherment
SMS
- List the number of entries in TRUSTED_ROOTS with: /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store
For example:
root@vcsa1 [ ~ ]# /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store TRUSTED_ROOTS | grep Number
Number of entries in store : 1
- Add the proxy certificate to TRUSTED_ROOTS with: /usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /Path_to_Cert/Cert_Name.cert
- Check the number of entries again in TRUSTED_ROOTS, If successful the number of certificates should increase.
For example:
root@vcsa1 [ ~ ]# /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store TRUSTED_ROOTS | grep Number
Number of entries in store : 2