In order for the Backup Agent to back up virtual machines hosted in a vSphere 6.5 environment, TLS 1.0 must be enabled on all ESXi hosts. This is not limited to only those host servers involved in backups (hosting either source or recovery virtual machines) but all hosts in a cluster. These directions do not apply to versions of vSphere preceding 6.5.
Directions
Generic
The change you will need to make involves two steps, however, there are many ways to accomplish them. The generic case will outline those steps while the following section will provide a specific method for carrying out those steps. To enable TLS 1.0 on an ESXi host, do the following:
- Add the following line to the file "
/etc/vmware/config
"tls.protocols=tls1.0,tls1.1,tls1.
2 - Restart the rhttpproxy service on the ESXi host
Example
To carry out the goals above, this example will use PuTTY to access the ESXi host's files and services.
Allow SSH on ESXi Server
- In order to use PuTTY with the ESXi server, we will need to allow SSH connections through the server's firewall as well as start the SSH service. From the Home > Inventory > Hosts and Clusters view, go to the Configuration tab for the host you want to edit.
- On the page labeled Security Profile, go to the Properties... link in the Services section and start the service called SSH.
- Going back to the Security Profile page, click on the Properties... link in the Firewall section and check the box for SSH Server.
Alter Config File and Restart RHTTPProxy
- Next, open up PuTTY, connect to the ESXi host, and log in.
- Edit the "
/etc/vmware/config
" file using the built-in text editor, vi, with the command:vi /etc/vmware/config
- When the file is opened, hit Enter until you get to the last line. Then, hit the "O" key to begin editing the line below it – on that line, enter the following:
tls.protocols=tls1.0,tls1.1,tls1.2
Hit the "Esc" key to exit editing then type :wq and hit the "Enter" key to save the file and exit. - Finally, to restart the rhttpproxy service, use the command:
/etc/init.d/rhttpproxy restart
- After completing these steps, it is advised you go back and stop the SSH service on the ESXi host.