User Tools

Site Tools


make_ccertificates_esxi

This is an old revision of the document!


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!

make_ccertificates_esxi.1673773213.txt.gz · Last modified: 2023/01/15 10:00 by admin