This article explains how to regenerate new vSphere 6/7/8.x Solution User certificates from the VMware Certificate Authority (VMCA).
VMware vCenter Server Appliance 6.x
VMware vCenter Server Appliance 7.x
VMware vCenter Server Appliance 8.x
/usr/lib/vmware-vmca/bin/certificate-manager
C:\Program Files\VMware\vCenter Server\vmcad\certificate-manager
- Further steps may be required to update EAM service after replacing the certificates. For more information, see After replacing the vCenter Server certificates in VMware vSphere 6.0, the ESX Agent Manager solution user fails to log in (318255).
- This task replaces the Solution User Certificates with VMCA issued certificates.
- If you are running an external Platform Services Controller you will need to restart the services of the external vCenter Server 6.0 and then optionally proceed with replacing the Solution User Certificates of the vCenter Server 6.0.
Use below command to confirm the hostname/ vCenter server PNID that should ideally be used to re-generate certificates.
vCenter server Appliance :
/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost
Windows based vCenter server :
"C:\Program Files\VMware\vCenter Server\vmafdd"\vmafd-cli get-pnid --server-name localhost
Use below command to confirm the domain-name of the vCenter server.
vCenter server Appliance :
/usr/lib/vmware-vmafd/bin/vmafd-cli get-domain-name --server-name localhost
Windows based vCenter server :
"C:\Program Files\VMware\vCenter Server\vmafdd"\vmafd-cli get-domain-name --server-name localhost