ESXi SSL certificate setup

Note on how I set up a let’s encrypt SSL certificate on an ESXi (version 7 or 8). The certificate is generated with ACME.sh, I’m using a Cloudflare DNS verification. Upload on the ESXi host is done with over SCP.

 export CF_Account_ID=
 export CF_Token=
acme.sh --issue --dns dns_cf -d nuc-esxi.mazenet.org
cp ~/.acme.sh/nuc-esxi.mazenet.org/nuc-esxi.mazenet.org.cer [email protected]:/etc/vmware/ssl/rui.cert 
cp ~/.acme.sh/nuc-esxi.mazenet.org/nuc-esxi.mazenet.org.key [email protected]:/etc/vmware/ssl/rui.key

SSH needs to be enabled on the ESXi host. Once the certificate is installed, the interface needs to be restarted. It’s possible to do it with the command dcui and select Troubleshooting Options > Restart Management Agents

Resource from VMWare Configuring CA signed certificates for ESXi 6.x/7.0 hosts (2113926)

Go to top