While patching or upgrading vCenter Server Appliance (VCSA), specifically versions 8.x, the process becomes stuck or fails after the reboot step.
Reviewing the /var/log/vmware/vmon.log or service logs shows errors similar to:ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get issuer certificate (_ssl.c:1017)
Services such as vpxd-svcs fail to start.
VMware vCenter Server 8
The rui.crt files located in /etc/vmware-rhttpproxy/ssl/ and /etc/vmware-vpx/ssl/ contain an incomplete certificate chain. The file may be missing the root certificate hash, causing SSL verification to fail when services attempt to start.
To resolve this issue, manually retrieve the missing root certificate and append it to the rui.crt files.
rui.crt file:grep "BEGIN CERTIFICATE" /etc/vmware-vpx/ssl/rui.crt | wc -l/usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store TRUSTED_ROOTS --alias ####rui.crt files:cp /etc/vmware-vpx/ssl/rui.crt /etc/vmware-vpx/ssl/rui.crt.bakcp /etc/vmware-rhttpproxy/ssl/rui.crt /etc/vmware-rhttpproxy/ssl/rui.crt.bakvi) to append the retrieved certificate hash (including the BEGIN and END markers) to the end of both files:/etc/vmware-vpx/ssl/rui.crt/etc/vmware-rhttpproxy/ssl/rui.crtservice-control --stop --all && service-control --start --all