VMware Esxi Host Certificate (LetsEncrypt)


VMware Hostname


Networking -> TCP/IP Stack -> Default TCP/IP Stack and edit settings
Change hostname and domain name.

Genereate CSR from vmware


Manage -> Secyrity & Users -> Import New Certificate
Generate FQDN Signing Request
Copy to clipboard and save it a text document

LetsEncrypt


Certificate is created for the vmware esxi host with LetsEncrypt by using following command, here you will the txt file (Signing Request) created before. in my case I saved the info to a file called CSR.txt

certbot -csr CSR.txt --manual --preferred-challenges dns certonly

and follow the prompt, you will need access to create txt records on your domain.

look through the important notes after completion of the certificate, it will tell you where the certificate is located


Import Certificate


go bact to the same window where you generated the FQDN Signing Request and paste the content from the Chain pem file that you got when running the certbot command

Pres import
Refresh , and Subject should now say CN=host.yourdomain.tld

Leave a Reply

Your email address will not be published.