vCenter Smart Card Authentication fails with "Certificate not valid. Message: [non-null policy tree required and policy tree is null] Reason: [INVALID_POLICY]"
vSphere 8.x
A signing CA from the user's Smart Card certificate CA path is missing from the vCenter Smart Card trust stores.
Use the client computer to list/export the user Smart Card certificate signing CA certificates:
Update the vCenter Trust Stores:
To add additional trusted CA certificates, repeat steps.
Configure vCenter Server to Request Client Certificates:
Create a trusted client CA store on the vCenter Server using the exact path and PEM name, /usr/lib/vmware-sso/vmware-sts/conf/clienttrustCA.pem.
Validate the contents of the clienttrustCA.pem file contain the trusted CAs that signed the smart card certificates:
Check sso-config.sh for matching CA names or through vSphere UI Single Sign On, Configuration, Smart Card Configuration, Smart Card Authentication and Trusted CA Certificates:
Note: These must match the Smart Card User Certificate Certificate Chain i.e. Root, Intermediates certificates have matching thumbprints, names, valid dates, etc... On the client computer use 'c:\> certutil -scinfo' to view the Smart Card certificate for the user and the signing CA path for the user certificate.
The vmware-sts service must be restarted after configuring smart card authentication: