6.5.1

Table Of Contents
n
If necessary, enable the ESXi Shell or enable SSH traffic from the vSphere Web Client. See the
vSphere Security publication for information on enabling access to the ESXi Shell.
n
All file transfers and other communications occur over a secure HTTPS session. The user who is
used to authenticate the session must have the privilege Host.Config.AdvancedConfig on the host.
See the vSphere Security publication for information on assigning privileges through roles.
Procedure
1 Back up the existing certificates.
2 Generate a certificate request following the instructions from the certificate authority.
See Requirements for ESXi Certificate Signing Requests.
3 When you have the certificate, use the vifs command to upload the certificate to the appropriate
location on the host from an SSH connection to the host.
vifs --server hostname --username username --put rui.crt /host/ssl_cert
vifs --server hostname --username username --put rui.key /host/ssl_key
4 Restart the host.
What to do next
Update the vCenter Server TRUSTED_ROOTS store. See Update the vCenter Server
TRUSTED_ROOTS Store (Custom Certificates).
Replace a Default Certificate Using HTTPS PUT
You can use third-party applications to upload certificates and key. Applications that support HTTPS PUT
operations work with the HTTPS interface that is included with ESXi.
Prerequisites
n
If you want to use third-party CA-signed certificates, generate the certificate request, send it to the
certificate authority, and store the certificates on each ESXi host.
n
If necessary, enable the ESXi Shell or enable SSH traffic from the vSphere Web Client. See the
vSphere Security publication for information on enabling access to the ESXi Shell.
n
All file transfers and other communications occur over a secure HTTPS session. The user who is
used to authenticate the session must have the privilege Host.Config.AdvancedConfig on the host.
See the vSphere Security publication for information on assigning privileges through roles.
Procedure
1 Back up the existing certificates.
vSphere Security
VMware, Inc. 65