Skip to main content

VM Ware Host

HostVMWare Host
FQDN
(Fully Qualified Domain Name)
acvmhost.aspireclan.com
LE64 Command
le64 --key vmaccount.key --email "aspireclan1208@gmail.com" --csr vmdomain.csr --csr-key vmdomain.key --crt vmdomain.crt --generate-missing --domains "acvmhost.aspireclan.com" --export-pfx cert@aspireclan123# --handle-as dns --live
Created Date
Expiry Date
Certificate creation stepsHow to use Let's Encrypt...
Certificate installation steps
  1. Enable SSH in ESXi
  2. Directly connect to the ESXi host's Direct Console User Interface (DCUI) using a monitor, keyboard and mouse
  3. Go to Troubleshooting Options
  4. Enable Enable SSH. Alternatively, if you are using the vSphere Client:
  5. Select the ESXi host in the inventory
  6. Go to the Actions tab
  7. Go to the Services section
  8. Click Enable Secure Shell (SSH)
  9. Backup the existing certificate and key on the ESXi host using PuTTY. Follow below steps in putty
  10. Open PuTTY
  11. login as: [UserName]
  12. Password: [Password]
  13. Execute command: cat /etc/vmware/ssl/rui.crt. This will show the existing certificate in ESXi. Selecte all the texts shown in PuTTY from -----BEGIN CERTIFICATE----- to -----END CERTIFICATE-----
  14. Highlight the content in the PuTTY window (this will automatically copy the highlighted content to your clipboard
  15. Paste the content into a text editor on your Windows machine (e.g., Notepad) and save it with the appropriate filename (e.g., backup_rui.crt)
  16. Execute command: cat /etc/vmware/ssl/rui.key. This will show the existing key in ESXi. Selecte all the texts shown in PuTTY from -----BEGIN PRIVATE KEY----- to -----END PRIVATE KEY-----
  17. Paste the content into a text editor on your Windows machine (e.g., Notepad) and save it with the appropriate filename (e.g., backup_rui.key)
  18. Keep PuTTY open
  19. Open a command prompt with Administrator privilege and go to the PuTTY installated directory [usually it will be in C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PuTTY (64-bit)]
  20. Execute the command pscp "C:\Your path\Your certificate name.crt" root@VMHost_IP:/etc/vmware/ssl/rui.crt
  21. Execute the second command pscp "C:\Your path\Your key name.key" root@VMHost_IP:/etc/vmware/ssl/rui.key [IMPORTANT: You should always use the domain.key created by the le64.exe]
  22. Close the command prompt
  23. Go back to the PuTTY
  24. Execute the command /etc/init.d/hostd restart
  25. Execute the second command /etc/init.d/vpxa restart
  26. Close PuTTY