You create a trust with a host virtual machine by using SSH connection with the vCloud Availability Installer Appliance.

The vCloud Availability Installer Appliance must trust the SSH certificate of the virtual machine. You connect the vCloud Availability Installer Appliance to the VM using a private SSH key.

You can use the SSH connection to the virtual machine to inspect the SSL certificate for a particular port.

Following are examples of creating a host trust.

The following command creates a host trust with a vSphere Replication Manager by running the vcav vsphere trust-ssh command on the vCloud Availability Installer Appliance.

Standard Command

Command Using Registry

# vcav vsphere trust-ssh \
--vsphere-address=$VSPHERE_ADDRESS \
--vsphere-user=$SSO_USER \
--vsphere-password-file=~/.ssh/.sso \
--vm-name=hms \
--vm-address=hms-IP-address \
--root-password-file=~/.ssh/.root
# vcav vsphere trust-ssh \
--vsphere=vsphere-name \
--vm-name=hms \
--vm-address=hms-IP-address \
--root-password-file=~/.ssh/.root

The system returns an OK message, after the process finishes.

Alternatively, you can create a host trust by running the vcav trust add-ssh command on the vCloud Availability Installer Appliance.

# vcav trust add-ssh \
--address=VM-IP-address \
--root-password-file= /root/.ssh/.root \
--thumbprint=35:AA:07:A4:96:72:89:A6:9B:32:8B:38:83:9F:82:86:53:65:39:76

The system returns an OK message, after the process finishes.