Wcp service fails to start due to permission errors:
Examples of the permission errors can be found in the vCenter - /var/log/vmware/wcp/wcpsvc.log:
2022-08-08T10:00:07.807Z error wcp [crypto/cryptography.go:67] Unable to read key from file /etc/vmware/wcp/keyForCryptography.dat. Error: open /etc/vmware/wcp/keyForCryptography.dat: permission denied2022-08-08T10:00:07.807Z error wcp [ssolib/helper.go:105] Failed executing shell command; cmd: '/usr/lib/vmware-vmafd/bin/vecs-cli', args: [entry getcert --store vpxd-extension --alias vpxd-extension], stdout: ' ', stderr: 'vecs-cli failed. Error 5: Possible errors:
LDAP error: Compare False
Win Error: Operation failed with error ERROR_ACCESS_DENIED (5)
', err: exit status 5
wcp instead of root. If permissions to VECS are removed for this user, the WCP service will fail to verify solution users, leading to service start failures.wcp and vpxd-extension users to the VECS wcp store:/usr/lib/vmware-vmafd/bin/vecs-cli store get-permissions --name wcpPERMISSIONS FOR STORE: [wcp]OWNER : rootUSER ACCESSwcp readvpxd readcontent-library read/usr/lib/vmware-vmafd/bin/vecs-cli store permission --name wcp --user wcp --grant read/usr/lib/vmware-vmafd/bin/vecs-cli store permission --name vpxd-extension --user wcp --grant read