Web
Analytics Made Easy - StatCounter

vSphere: error when uploading files to datastores

vsphere-error-uploading-files-datastore-01

When attempting to upload any files to a datastore in the VMware vSphere infrastructure, you get an error when uploading files to datastores and the operation is not completed and fails.

To find out the cause of the error, you can click on Details to get additonal information.

vsphere-error-uploading-files-datastore-02

Looking at the error details, the reason of the problem is due to an untrusted certificate used by the browser.

vsphere-error-uploading-files-datastore-03

Looking at the browser, the vCenter Server URL is marked as Not Secure. The failure is due to an untrusted certificate used to connect the vCenter Server.

vsphere-error-uploading-files-datastore-04

 

Fix uploading files to datastores issue

To fix this error, open your favorite browser and enter the address of your vCenter Server without specifying any client (flash or HTML) to use, such as https://vCenter_address. Click the Download trusted root CA certificates link in the right side.

vsphere-error-uploading-files-datastore-05

A .ZIP file is downloaded in your local computer. Access the .ZIP file folder location to extract the certificates.

vsphere-error-uploading-files-datastore-06

Unzip the downloaded file to a folder of your computer. Three folders are extracted for the supported OSs: lin, mac, win.

vsphere-error-uploading-files-datastore-07

Right click the Windows menu icon and select Run. Enter mmc and press Enter to open the Management Console.

vsphere-error-uploading-files-datastore-08

Select File > Add/remove Snap-in from the menu.

vsphere-error-uploading-files-datastore-09

Select Certificates item then click Add.

vsphere-error-uploading-files-datastore-10

Select the Computer account option then click Next.

vsphere-error-uploading-files-datastore-11

Select Local computer and click Finish.

vsphere-error-uploading-files-datastore-12

The Certificates (Local Computer) snap-in is created under Console Root. Select the new created item and click OK.

vsphere-error-uploading-files-datastore-13

Expand Certificates (Local Computer) and Trusted Root Certification Authorities items then right click Certificates. Select All-Tasks > Import.

vsphere-error-uploading-files-datastore-14

Click Next.

vsphere-error-uploading-files-datastore-15

Click Browse and access the appropriate folder (lin, mac, or win) previously extracted from the ZIP file based on the used OS. Select the .CRT file and click Next.

vsphere-error-uploading-files-datastore-16

Select Place all certificates in the following store option. Make sure the specified Certificate store is Trusted Root Certification Authorities then click Next.

vsphere-error-uploading-files-datastore-17

Click Finish to import the certificate.

vsphere-error-uploading-files-datastore-18

The certificate has been imported successfully. Click OK to close the window.

vsphere-error-uploading-files-datastore-19

After importing the certificate in the used browser, access the vCenter Server once again. This time the URL is marked as Secure.

vsphere-error-uploading-files-datastore-20

Trying to upload a file to datastore, the operation is now executed without any problem.

vsphere-error-uploading-files-datastore-21

After installing the correct certificate, operations such as files upload to datastores can be completed successfully.

signature

One Response

  1. mohamed rizvi 07/04/2019

Leave a Reply