Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Virtualization / VMWare / VMWare vSphere: Failed to Upload Files to Datastore

November 21, 2019 VMWare

VMWare vSphere: Failed to Upload Files to Datastore

I faced a strange problem when trying to copy (upload) any file (ISO, vmdk, OVA/OVF, etc.) to the VMFS Datastore in VMware vSphere (6.7). When I click on the “Upload Files” button in vSphere Client interface, the error “The operation failed” appears.

vsphere upload file to vmfs datastore - the operation failed error

To get a detailed information about the error, click Details.

There is the following message in the error window:

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.

https:// my-vcenter

If this does not resolve the problem, other possible solutions are shown in this KB article: http://kb.vmware.com/kb/2147256

vmware vcenter: 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.

As you can see from the error, the problem related to the untrusted SSL certificate used on the vCenter server (the certificate is self-signed or issued by an untrusted certificate authority).

In vSphere 6.5 and 6.7, it is not enough to add a vCenter certificate to trusted certificates in your browser. If a self-signed certificate is not added to the Trusted Root Certification Authorities Store on your computer, the vSphere Web Client won’t allow to upload files to the VMFS datastore.

To add a vCenter certificate to the list of trusted certificates, go to vSphere start page and click “Download trusted root CA certificates” in the bottom right corner.

Download trusted root CA certificates in VMware Vsphere

In Downloads go to the ..\certs\win folder (there are separate folders for Windows, Linux and Mac certificates). Double-click the *.crt file and click the Install Certificate button.

install self-signed cert for VMWare vcenter

Use the Certificate Import Wizard to place your vCenter certificate to the trusted root certificate store on your computer (Local Machine -> Trusted Root Certification Authorities).

add SSL cert to Trusted Root Certification Authorities

Open vCenter web interface and make sure that the untrusted certificate warning doesn’t appear. Now you can upload files to your VMFS datastore.

now you can upload files to vmware datastore

In Firefox, you need to add the vSphere certificate to trusted (exception) list in your browser settings or switch Firefox to use certificates from the Windows certificate store: about: config -> security.enterprise_roots.enabled = True (otherwise you will see an error “Secure Connection Failed”).

FireFox, unlike other browsers (Chrome, Opera, IE) by default uses its own trusted certificate list.

0 comment
0
Facebook Twitter Google + Pinterest
previous post
How to Recover Deleted Files from a TRIM-Enabled SSD?
next post
Creating Multiple Partitions on a USB Drive in Windows 10

Related Reading

How to Install Free VMware Hypervisor (ESXi)?

January 24, 2023

Using VMware Converter for P2V Migration (Physical to...

October 19, 2022

Using iPerf to Test Network Speed and Bandwidth

September 29, 2022

Adding Drivers into VMWare ESXi Installation Image

September 26, 2022

VMWare: Virtual Machine Disks Consolidation is Needed

September 16, 2022

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Using Previous Command History in PowerShell Console

    January 31, 2023
  • How to Install the PowerShell Active Directory Module and Manage AD?

    January 31, 2023
  • Finding Duplicate E-mail (SMTP) Addresses in Exchange

    January 27, 2023
  • How to Delete Old User Profiles in Windows?

    January 25, 2023
  • How to Install Free VMware Hypervisor (ESXi)?

    January 24, 2023
  • How to Enable TLS 1.2 on Windows?

    January 18, 2023
  • Allow or Prevent Non-Admin Users from Reboot/Shutdown Windows

    January 17, 2023
  • Fix: Can’t Extend Volume in Windows

    January 12, 2023
  • Wi-Fi (Internet) Disconnects After Sleep or Hibernation on Windows 10/11

    January 11, 2023
  • Adding Trusted Root Certificates on Linux

    January 9, 2023

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • ESXi: Slow Disk Performance on HPE Gen8
  • Windows Server Licensing for Virtual Environments
  • Invalid State of a Virtual Machine on VMWare ESXi
  • Match Windows Disks to VMWare VMDK Files
  • System Logs on ESXi Host are Stored On Non-Persistent Storage
  • Configuring USB Devices Passthrough from VMWare ESXi to a Virtual Machine
  • Selecting the Number of vCPUs and Cores for a Virtual Machine
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top