vSphere 6.5 – Unable to upload files to Datastore or deploy OVAs

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

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.

Published by

vcdx133

Chief Enterprise Architect and Strategist, 4xVCDX#133, NPX#8, DECM-EA.

8 thoughts on “vSphere 6.5 – Unable to upload files to Datastore or deploy OVAs”

  1. Great Post ! Just add that under Firefox 52.6.0 (64-bit) you must add Security cert under OPTIONS > ADVANCED > CERTIFICATION > VIEW CERTIFICATES > IMPORT .

  2. Thank you! I have been fighting with this for two days and this is the solution.

  3. Thanks a ton dude! VMware’s KB article was completely useless in helping me get around this.

  4. I did the same, but it did not work from me. I am trying to upload 5 gb file to the datastore after 32% it throws the same error and datastore has TBs of space. please help me with this

Comments are closed.