"One or more certificates are missing the PNID <vCenter_FQDN> from the SAN entry".
/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhosthostname -fVMware vCenter Server 8.x
VMware vCenter 9.x
The vCert script flags missing PNID due to the vCenter hostname and PNID case mistmatch. This causes the hostname to overwrite the PNID in the Machine SSL certificate's SAN field, triggering the error.
For PNID and hostname mismatch on vCenter caused due to case difference, updating the PNID on vCenter using VAMI will fail with error 'Adding new CN entries failed'.
Follow the steps below to resolve the issue:
https://<VCSA_FQDN>:5480) as root.Networking -> Network Settings -> Edit.hostname with a placeholder. Example: localhost