Install certificates on ESXI

Word of warning, be carefull when doing this, reverting is not that easy and can result in a non-accessible ESXI server!

What you need is the following:

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

 Used sources:

Article

How to:

  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!

Gallery

Tags

Comments