Today I ran into expired host certificates, belowl the steps how to regenerate ESXi host cerificates.

Step 1. Log in to the ESXi shell as the root user.
Step 2. Back up any existing certificates, just in case
Step 3. Generate the new certificates:


Step 4. Reboot the ESXi host or restart the hostd process: