How to crate expired certificate for ESXi
You might sometimes run into the issue of expired ESXi certificates. This is how to solve it:
Step 1. Log in to the ESXi shell as the root user.
Step 2. Back up any existing certificates, just in case.
mv /etc/vmware/ssl/rui.crt /etc/vmware/ssl/rui.crt.old
mv /etc/vmware/ssl/rui.key /etc/vmware/ssl/rui.key.old
NOTE: If the rui.crt and rui.key files do not exist then you do not need to back them up; you can just go to the next step.
Step 3. Generate the new certificates:
Step 4. Reboot the ESXi host or restart the hostd process:
Your ArtIT Team