Unable to upload file in datastore “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 below in a new browser tab and accept the certificate, then retry the operation”

UNABLE TO UPLOAD FILE IN DATASTORE “THE OPERATION FAILED FOR AN UNDETERMINED REASON.

Whenever we are trying to upload the files in VMware ESXi Datastore its getting failed with bellow error

UNABLE TO UPLOAD FILE IN DATASTORE “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 BELOW IN A NEW BROWSER TAB AND ACCEPT THE CERTIFICATE, THEN RETRY THE OPERATION”

Solution 1

How to download and import CA certificate in windows machine for browses trusted certificate.

VMware vCenter 6.0,6.5,7,ESXi-6.0,6.5,7.

First Download the trusted root Certificate by entering Hostname or IP address of VMware vCenter in browser.

Donwload trusted root CA
VMware certificate

Save the download file in location and extract it using windows explorer or any software

Extract certificate

Open run with win+ R and type certmgr.msc

Certificates

Goto -> All Tasks :- Import

Certmgr

Select the certificate from the directory and click Next

File to import

Click on place all certificate in the following store

Certificate Store

Click on Finish

Complete Certificate import

Click Yes to add the thumbprint(sh1)

Security Warning

We can see the certificate imported successfully.

Certificate Import

Restart the browsers and Enter the hostname or IP

We can see that no certificate issue

Launch vSphere Web Client

Now You can upload the file successfully.

If the problem is not solved you can refer below

Solution 2 :-

  1. Take SSH or putty of vCenter Server appliance for 6.0

Type “Shell” to enter in shell prompt

root# service vsphere-client stop
root# rm -rf /etc/vmware-vsphere-client/SerenityDB/serenity/*
root# service vsphere-client start

2.For VMware vSphere 6.5.x,6.7.x & 7.0.0 follow the below path

root# service-control --stop vsphere-client
root# rm -rf /storage/vsphere-client/SerenityDB/serenity/*
root# service-control --start vsphere-client

3. For Windows installed VMware vCenter Server.

⇒C:\Users\MasteringNutanix>cd <C:\Program Files\VMware\vCenter Server\bin>

⇒vCenter Server\bin> service-control –stop vspherewebclientsvc

4. Delete the contents of the below folder.

⇒C:\programdata\vmware\vCenterServer\data\vSphere Web Client\SerenityDB\serenity>
⇒serenity> service-control –start vspherewebclientsvc

Reference :-

VMware KB

VCSA login issue

Leave a Reply