After replacing the Machine SSL and STS (Security Token Service) Signing Certificates on a vCenter Server that is part of a VCF (VMware Cloud Foundation) environment, the SDDC Manager UI page becomes inaccessible or displays a blank screen.
The problem originates from the SDDC Manager's role as the centralized certificate and trust management component for all vCenter Servers integrated into the VCF environment.
When certificate is replaced directly on the vCenter server
The resolution involves resynchronizing the vCenter's root certificate with the SDDC Manager's trust store and then restarting services to re-establish the trust chain across the domain.
su -Expected Output:
/home/vcf ]# python VcRootCaSync.pyPlease provide SSO administrator user[[email protected]]:Provide password for [email protected]:Available vCenter Servers:[1] ACTIVE | example.vcsa1.com[2] ACTIVE | example.vcsa2.com
Select a vCenter server by entering the corresponding number: 1 Selected vCenter: example.vcsa1.com
Session token created successfully Root certificate saved to /tmp/root.cer
vCenter example.vcsa1.com Root Certificate Found:-----BEGIN CERTIFICATE-----###########################################################
-----END CERTIFICATE-----
Using randomly generated Alias: abc-def-vcsa1_RootCrt_EA0G
vCenter Root certificate added to SDDC Manager trust stores. Refreshing certificate store Deleting root certificate from temp
/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh