make_ccertificates_esxi
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:
/sbin/generate-certificates
Step 4. Reboot the ESXi host or restart the hostd process:
/etc/init.d/hostd/restart
That's all!
Your ArtIT Team
make_ccertificates_esxi.txt · Last modified: 2023/01/15 10:00 by admin