6.0.3

Table Of Contents
3 When you have the certicate, use the vifs command to upload the certicate 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 Certicates),” on page 170.
Replace a Default Certificate Using HTTPS PUT
You can use third-party applications to upload certicates 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 certicates, generate the certicate request, send it to the
certicate authority, and store the certicates on each ESXi host.
n
If necessary, enable the ESXi Shell or enable SSH trac from the vSphere Web Client. See “Use the
vSphere Web Client to Enable Access to the ESXi Shell,” on page 202.
n
All le transfers and other communications occur over a secure HTTPS session. The user who is used to
authenticate the session must have the privilege Host.. on the host. For more
information on assigning privileges through roles, see “Managing Permissions for vCenter
Components,” on page 141.
Procedure
1 Back up the existing certicates.
2 In your upload application, process each le as follows:
a Open the le.
b Publish the le to one of these locations.
Option Description
Certificates
https://hostname/host/ssl_cert
Keys
https://hostname/host/ssl_key
The location /host/ssl_cert and host/ssl_key link to the certicate les in /etc/vmware/ssl.
3 Restart the host.
What to do next
Update the vCenter Server TRUSTED_ROOTS store. See “Update the vCenter Server TRUSTED_ROOTS
Store (Custom Certicates),” on page 170.
Update the vCenter Server TRUSTED_ROOTS Store (Custom Certificates)
If you set up your ESXi hosts to use custom certicates, you have to update the TRUSTED_ROOTS store on the
vCenter Server system that manages the hosts.
Prerequisites
Replace the certicates on each host with custom certicates.
vSphere Security
170 VMware, Inc.