While attempting to access the vCenter Server Appliance Management Interface (VAMI), a "503 - OK" error is displayed on the UI.
Validating service health indicates that multiple critical services are in a stopped state:
root@vCenter [ ~ ]# service-control --status --allRunning: lookupsvc lwsmd observability pschealth vc-ws1a-broker vlcm vmafdd vmcad vmdird vmware-analytics vmware-cis-license vmware-content-library vmware-eam vmware-envoy vmware-envoy-hgw vmware-envoy-sidecar vmware-infraprofile vmware-pod vmware-postgres-archiver vmware-rhttpproxy vmware-sca vmware-stsd vmware-trustmanagement vmware-updatemgr vmware-vapi-endpoint vmware-vdtc vmware-vmon vmware-vpostgres vmware-vpxd vmware-vsm vsphere-ui vtsdb wcpStopped: applmgmt observability-vapi vmcam vmonapi vmware-certificateauthority vmware-certificatemanagement vmware-hvc vmware-imagebuilder vmware-netdumper vmware-perfcharts vmware-rbd-watchdog vmware-sps vmware-topologysvc vmware-vcha vmware-vpxd-svcs vmware-vsan-health vstats
The Machine SSL certificate on the vCenter Server has expired. An expired Machine SSL certificate prevents reverse proxy routing, which causes dependent vCenter services to fail to start and blocks access to the VAMI and vSphere UI.
To resolve this issue, the expired certificates must be replaced using the vCert utility.
Connect to the vCenter Server Appliance via SSH as the root user.
Verify the stopped services by running the command: service-control --status --all
Identify the expired certificates using the vecs-cli command: 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
Ensure an offline snapshot of the vCenter Server (and all linked nodes, if in Enhanced Linked Mode) is taken before proceeding Snapshot Best practices for vCenter Server Virtual Machines
Download and upload the vCert tool on the appliance vCert - Scripted vCenter expired certificate replacement
From the vCert menu, select the option to Reset all certificates with VMCA-signed certificates (Option 6).
Verify that the services have started successfully and that the VAMI is accessible.