The vCenter UI is displaying the below error when attempting to log in via a browser.
An error occurred while fetching identity providers. Please try again later. If problem persists, contact your administrator.
VMware vCenter Server 7.x
VMware vCenter Server 8.x
The error occurred because vCenter certificates had expired.
Run the below command on the vCenter appliance to see the status of the vCenter certificates:
for i in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list); do echo STORE $i; sudo /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $i --text | egrep "Alias|Not After"; done
Sample Output:
[*] Store : MACHINE_SSL_CERT
Alias : __MACHINE_CERT
Not After : MM DD HH:MM:SS YYYY GMT
[*] Store : TRUSTED_ROOTS
Alias : xxxx
Not After : MM DD HH:MM:SS YYYY GMT
Alias : xxxx
Not After : MM DD HH:MM:SS YYYY GMT
[*] Store : machine
Alias : machine
Not After : MM DD HH:MM:SS YYYY GMT
[*] Store : vsphere-webclient
Alias : vsphere-webclient
Not After : MM DD HH:MM:SS YYYY GMT
[*] Store : vpxd
Alias : vpxd
Not After : MM DD HH:MM:SS YYYY GMT
[*] Store : vpxd-extension
Alias : vpxd-extension
Not After : MM DD HH:MM:SS YYYY GMT
[*] Store : APPLMGMT_PASSWORD
Alias : location_password_default
[*] Store : data-encipherment
Alias : data-encipherment
Not After : MM DD HH:MM:SS YYYY GMT
[*] Store : SMS
Alias : sms_self_signed
Not After : MM DD HH:MM:SS YYYY GMT
Alias : sps-extension
[*] Store : hvc
Alias : hvc
Not After : MM DD HH:MM:SS YYYY GMT
[*] Store : wcp
Alias : wcp
Not After : MM DD HH:MM:SS YYYY GMT
To resolve the issue, replace the expired vCenter certificates.
Note: Below KB can be used to replace the certificate on the vCenter server using the Fixcerts script.
Replace certificates on vCenter server using the Fixcerts script