vSphere 6.7 – Unable to upload files via vcenter

vSphere 6.7 – Unable to upload files to Datastore

This post is applicable to customers using VMware vCenter Server 6.7.

Problem:

  1. vCenter Server deployed with Self-Signed Certificates.
  2. Login to vSphere Web Client.
  3. Try to upload a file to a Datastore and receive the message: “The operation failed for an undetermined reason. Typically this problem occurs due to certificates that the browser does not trust. If you are using self-signed or custom certificates, open the URL in a new browser tab and accept the certificate, then retry the operation.”
  4. Try to deploy an OVA file and the deploy OVA task hangs at 0% and must be cancelled.

Solution:

  1. Open the URL of the vCenter Server: https://<IP Address or hostname of vCenter Server>
  2. Note that the browser marks the SSL URL as “Not Secure”.
  3. On the “Getting Started” page, select the “Download trusted root CA certificates” from the bottom right hand corner of the page.
  4. Decompress the downloaded ZIP file and browse to the OS folder applicable to your desktop. In this example it is Windows.
  5. Double click on the Security Certificate file.
  6. In the Certificate window that opens, select the “Install Certificate” button.
  7. In the “Certificate Import Wizard”, select the “Local Machine” Store Location and press Next.
  8. On the “Certificate Store” window of the “Certificate Import Wizard”, select “Place all certificates in the following store” and browse to “Trusted Root Certificate Authorities”, press Next and then press Finish to complete the import process.
  9. Restart the browser and enter the vSphere Web Client “Getting Started” URL.
  10. Verify that the browser marks the SSL URL as “Secure”.
  11. Uploading files to Datastores and deploying OVA files should now work.

Background:

In previous versions of vSphere, it was enough to trust the vCenter Server certificate from your browser and the vSphere Web Client was fully functional. In vSphere 6.5, if the self-signed certificate of vCenter Server is not located in the “Trusted Root Certificate Authorities” of the Certificate Store, then the vSphere Web Client will not be trusted to share files with vCenter Server.