Install certificates on ESXI

Install certificates on ESXI

It is really easy to install your own personal certificate on your ESXI 6.5 server

What you need is the following:

  1. ESXI 6.5
  2. WinSCP
  3. Enable SSH
  4. Your cerficate exported to PEM that includes your private key and your certificate
  5. Your friendly DNS name e.g. esxi.gregoir.be

 Used sources:

https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.security.doc/GUID-B70177EE-9C62-4BB9-BD3C-4848C128E63A.html

https://recommender.vmware.com/solution/SOL-1180

  1. Logon your esxi server
  2. Go to Host -> Actions -> Services -> Enable Secure Shell (SSH)
  3. Open WinSCP and connect to your esxi host using SSH
  4. In WinSCP browse to "/etc/vmware/ssl"
  5.  Backup your current keys by renaming them rui.crt.bak and rui.key.bak
  6. Upload your personal certificate named exactly the same (rui.crt and rui.key)
  7. Restart your management services via SSH and the command "services.sh restart" to load in your new certificate
  8. Browse to your friendly DNS name and check your validated certificate
  9. That's it!

Comments