How to Fix Expired Certificates on VMware vCenter with vCert
How to fix expired certificates on VMware vCenter with vCert
When vCenter certificates expire, the vSphere Client stops loading, services fail to start and ESXi hosts drop out of management. Broadcom’s free vCert script is the fastest way back: one menu-driven Python tool that checks, renews and replaces every vCenter certificate from the appliance shell.
| Machine SSL certificate | 2026-11-02 | EXPIRED |
| Solution User: vpxd | 2026-11-02 | EXPIRED |
| Solution User: vpxd-extension | 2026-11-02 | EXPIRED |
| STS signing certificate | 2026-11-18 | EXPIRED |
| VMCA root certificate | 2031-06-04 | VALID |
This guide walks through the full recovery: snapshot, upload, run vCert, reset certificates, restart services and verify. It is based on Broadcom KB 385107, current version vCert 6.1.2 (July 2026).
Signs your vCenter certificates have expired
If you see any of these, check certificates first:
- The vSphere Client shows “503 Service Unavailable” or a blank login page.
- A white page with a single line: “No upstream…”.
vpxd,vsphere-uiorvmware-stsdwill not start after a reboot.- Login fails with token or STS errors, even with correct credentials.
- ESXi hosts show as disconnected, or vSphere HA and vSAN report errors.
- Backup tools and integrations (Veeam, NSX, SRM) can no longer connect to vCenter.
A quick manual check from the appliance shell lists every store and its expiry dates:
for store in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list); do
echo "== $store"
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $store --text | grep -E "Alias|Not After"
doneWhat is vCert?
vCert (vCert.py) is a Broadcom-supplied Python script that replaces the built-in certificate-manager utility. It runs from the vCenter Server Appliance shell and handles almost every certificate task through a simple numbered menu.
Why use it instead of certificate-manager:
- It runs a full health check before you change anything: expired certs, certs expiring within 30 days, missing CA chains, wrong SAN/PNID and weak signature algorithms.
- It fixes the things people usually forget: SSL trust anchors in the Lookup Service, vCenter extension thumbprints (EAM, vLCM, vSAN health) and the STS signing certificate.
- It backs up certificates before replacing them, and logs everything to
/var/log/vmware/vCert/vCert.log. - It also covers ESXi host certificates and can generate a full certificate report.
The main menu:
| # | Option | Use it to |
|---|---|---|
| 1 | Check current certificate status | Find what is expired or broken |
| 2 | View certificate info | Inspect any certificate in detail |
| 3 | Manage certificates | Replace Machine SSL, Solution User, STS, VMCA and more |
| 4 | Manage SSL trust anchors | Check or update Lookup Service trust |
| 5 | Check configurations | SSL interception, STS config, VECS permissions |
| 6 | Reset all certificates with VMCA-signed certificates | One-shot fix for expired VMCA certificates |
| 7 | ESXi certificate operations | Check or replace host certificates |
| 8 | Restart services | Restart all or one VMware service |
| 9 | Generate certificate report | Document the current state |
Before you start
Take a snapshot first. Certificate changes can leave vCenter unbootable, and a snapshot is your only fast way back.
Step-by-step: renew expired certificates with vCert
-
Download vCert
Download the latest zip (currently
vCert-6.1.2-20260713.zip) from the Attachments section of KB 385107, or from here. Verify the hash before uploading:powershellGet-FileHash .\vCert-6.1.2-20260713.zip -Algorithm SHA256 # Expected: e0f3abad77b6cbf74232087ccb7cffa17c67d8098b00ff254e60bdc6bcad9731 -
Upload it to vCenter
SCP fails if root’s default shell is the appliance shell, so switch it to Bash first:
bashssh root@vcenter.example.local shell chsh -s /bin/bash root mkdir -p /root/vcertThen copy the file with WinSCP or
scp:bashscp vCert-6.1.2-20260713.zip root@vcenter.example.local:/root/vcert/ -
Extract and run
bashcd /root/vcert python -m zipfile -e vCert-6.1.2-20260713.zip . cd vCert-6.1.2-20260713 chmod +x vCert.py ./vCert.pyType
yto accept the warning, then enter the SSO administrator credentials when prompted. You can also pass them on the command line with--userand--password. -
Check the current status (option 1)
Run option 1. Check current certificate status first. vCert flags each certificate as expired, expiring within 30 days, or misconfigured. Note which ones fail; this decides the fix.
-
Replace the certificates
Pick the path that matches your environment:
Default VMCA certificates (most environments)Choose option 6. Reset all certificates with VMCA-signed certificates. In one run it re-issues:
- Machine SSL certificate, plus SSL trust anchors and extension thumbprints
- Solution User certificates (machine, vpxd, vpxd-extension, vsphere-webclient, wcp, hvc)
- STS signing certificate
The VMCA root itself has expiredUse 3. Manage certificates → 9. VMCA certificate. This replaces the root CA and re-issues Machine SSL, Solution User and STS signing certificates under it.
Custom CA-signed Machine SSL (corporate PKI or public CA)Use 3. Manage certificates → 1. Machine SSL certificate. vCert can generate the private key and CSR for you; sign it on your CA, then import the certificate. Include the full CA chain, or vCert will prompt for it.
Only the STS signing certificate expiredLogin fails but everything else is valid. Use 3. Manage certificates → 8. STS signing certificates.
Scheduled tasks: replacing the STS signing certificate invalidates the tokens saved for user-created vCenter scheduled tasks. Delete and recreate those tasks afterwards.
-
Fix trust anchors and thumbprints if flagged
If the status check still reports problems, use 4. Manage SSL trust anchors → 2. Update for Lookup Service registrations, and 3 → 7. vCenter Extension thumbprints for EAM, vLCM and vSAN health mismatches.
Restart services and verify
vCert usually offers to restart services at the end of a replacement. If not, use 8. Restart services → 1. Restart all VMware services, or from the shell:
service-control --stop --all && service-control --start --all
service-control --status --allThen confirm the fix:
- Re-run vCert option 1. Every certificate should now report as valid.
- Log in to the vSphere Client at
https://<vcenter-fqdn>/ui. - Check that all ESXi hosts are Connected. If a host shows disconnected, right-click → Connection → Disconnect, then Connect.
- Run option 9. Generate certificate report and keep it for your documentation. It is saved under
/var/log/vmware/vCert/. - Re-test integrations (backup, NSX, SRM, monitoring). Some will ask you to accept the new vCenter thumbprint.
- Once everything works, delete the snapshot. Don’t leave it running for weeks.
Tips and troubleshooting
- Upgrade to vCenter 8.0 U3h or later
- From that build, VMCA-issued Machine SSL and ESXi certificates renew automatically 5 days before expiry, as long as the certificate mode is
vmca. - Clean up old certificates
- Use 3 → 12 to clear expired certificates from the VECS BACKUP_STORE, which otherwise keeps raising false alarms.
- Behind a proxy that inspects SSL?
- Run 5 → 1. Check for SSL Interception. vCert detects the proxy CA and offers to import it so update checks work again.
- Logs and backups
- Everything vCert does is logged to
/var/log/vmware/vCert/vCert.log, and certificate backups are kept under/storage/vCert/<date>/. - Monitor expiry going forward
- Add a monthly vCert status check or a monitoring alert (Zabbix, PRTG, etc.) so certificates never expire silently again.
- When in doubt, open a case
- Broadcom states vCert is meant to be used under the direction of its support team. For production or ELM environments, open a support case if anything looks unusual.
Conclusion
Expired certificates are one of the most common reasons a vCenter suddenly stops working, and vCert turns a long, error-prone manual procedure into a few menu choices. Snapshot first, run the status check, reset or replace the certificates, restart services and verify. Most environments are back online in under 30 minutes.

