Install certificates on ESXI

Install certificates on ESXI


Installing certificates on ESXI is not that difficult, yet I wonder why they made it so cumbersome to do in the first place as it provides more secure communications for your hypervisor system…

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:

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

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 “sudo restart” to load in your new certificate
  8. Browse to your friendly DNS name and check your validated certificate
  9. That’s it!



No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *