503 Service Unavailable error when accessing vCenter Serverno healthy upstream error when accessing vCenter Server[500] An error occurred while fetching identity providers error on the login page
|
for store in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list | grep -v TRUSTED_ROOT_CRLS); do echo "[*] Store :" $store; /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $store --text | grep -ie "Alias" -ie "Not After";done;
Review the output. If any "Not After" dates are in the past, certificates have expired.For vCenter 7.x, 8.x, and 9.x -
Use the vCert tool to identify which certificates are expired and replace them:
Download and install vCert per the instructions in vCert - Scripted vCenter Expired Certificate Replacement.
Run vCert and select Option 1: Check current certificate status to identify expired certificates. Based on the results:
Option 6: Reset all certificates with VMCA-signed certificates.Option 3: Manage Certificates to replace only the affected certificates.Note: Due to known issues with the built-in certificate-manager tool in vCenter 8.0, the vCert tool is the recommended method for expired certificate replacement.
For vCenter 6.x (Windows or Appliance) -
Use the certificate-manager utility:
/usr/lib/vmware-vmca/bin/certificate-managerC:\Program Files\VMware\vCenter Server\vmcad\certificate-managerOption 8 (Reset all Certificates) to regenerate all certificates with VMCA-signed certificates.service-control --stop --all && service-control --start --allservice-control --status --allRelated Articles:
Impact/Risks: