{"id":36368,"date":"2019-01-08T09:00:06","date_gmt":"2019-01-08T08:00:06","guid":{"rendered":"https:\/\/nolabnoparty.com\/?p=36368"},"modified":"2023-07-16T11:30:30","modified_gmt":"2023-07-16T09:30:30","slug":"vsphere-error-when-uploading-files-to-datastores","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/vsphere-error-when-uploading-files-to-datastores\/","title":{"rendered":"vSphere: error when uploading files to datastores"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter wp-image-37081 size-full\" title=\"vsphere-error-uploading-files-datastore-01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-01.jpg\" alt=\"vsphere-error-uploading-files-datastore-01\" width=\"602\" height=\"202\" \/><\/p>\n<p>When attempting to upload any files to a datastore in the\u00a0<a href=\"https:\/\/www.vmware.com\/products\/vsphere.html?src=af_5be090889c23e&amp;cid=70134000001TBjI\" target=\"_blank\" rel=\"noopener\">VMware vSphere<\/a>\u00a0infrastructure, you get an error when uploading files to datastores and the operation is not completed and fails.<\/p>\n<p>To find out the cause of the error, you can click on\u00a0<strong>Details<\/strong> to get additonal information.<\/p>\n<p><!--more--><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37083 size-large\" title=\"vsphere-error-uploading-files-datastore-02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-02-600x361.jpg\" alt=\"vsphere-error-uploading-files-datastore-02\" width=\"600\" height=\"361\" \/><\/p>\n<p>Looking at the error details, the reason of the problem is due to an <strong>untrusted certificate<\/strong> used by the browser.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37085 size-full\" title=\"vsphere-error-uploading-files-datastore-03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-03.jpg\" alt=\"vsphere-error-uploading-files-datastore-03\" width=\"576\" height=\"398\" \/><\/p>\n<p>Looking at the browser, the vCenter Server URL is marked as\u00a0<strong>Not Secure<\/strong>. The failure is due to an untrusted certificate <strong>used to connect the vCenter Server<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37087 size-large\" title=\"vsphere-error-uploading-files-datastore-04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-04-600x375.jpg\" alt=\"vsphere-error-uploading-files-datastore-04\" width=\"600\" height=\"375\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Fix uploading files to datastores issue<\/h2>\n<p>To fix this error, open your favorite browser and enter the address of your <a href=\"https:\/\/nolabnoparty.com\/en\/vmware-vcenter-high-availability-setup-pt-1\/\">vCenter Server<\/a> <strong>without specifying any client<\/strong>\u00a0(flash or HTML) to use, such as <span style=\"color: #0000ff;\">https:\/\/vCenter_address<\/span>. Click the <strong>Download trusted root CA certificates<\/strong> link in the right side.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37089 size-large\" title=\"vsphere-error-uploading-files-datastore-05\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-05-600x295.jpg\" alt=\"vsphere-error-uploading-files-datastore-05\" width=\"600\" height=\"295\" \/><\/p>\n<p>A .<strong>ZIP file is downloaded<\/strong> in your local computer. Access the .<strong>ZIP file<\/strong> folder location\u00a0to extract the certificates.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37091 size-full\" title=\"vsphere-error-uploading-files-datastore-06\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-06.jpg\" alt=\"vsphere-error-uploading-files-datastore-06\" width=\"526\" height=\"282\" \/><\/p>\n<p>Unzip the downloaded file to a folder of your computer. Three folders are extracted for the supported OSs: <strong>lin, mac, win<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37093 size-full\" title=\"vsphere-error-uploading-files-datastore-07\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-07.jpg\" alt=\"vsphere-error-uploading-files-datastore-07\" width=\"460\" height=\"219\" \/><\/p>\n<p>Right click the Windows menu icon and select <strong>Run<\/strong>. Enter <strong>mmc<\/strong> and press <strong>Enter<\/strong>\u00a0to open the Management Console.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37095 size-full\" title=\"vsphere-error-uploading-files-datastore-08\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-08.jpg\" alt=\"vsphere-error-uploading-files-datastore-08\" width=\"399\" height=\"206\" \/><\/p>\n<p>Select <strong>File &gt; Add\/remove Snap-in<\/strong> from the menu.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37097 size-full\" title=\"vsphere-error-uploading-files-datastore-09\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-09.jpg\" alt=\"vsphere-error-uploading-files-datastore-09\" width=\"541\" height=\"315\" \/><\/p>\n<p>Select <strong>Certificates<\/strong> item then click <strong>Add<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37099 size-large\" title=\"vsphere-error-uploading-files-datastore-10\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-10-600x425.jpg\" alt=\"vsphere-error-uploading-files-datastore-10\" width=\"600\" height=\"425\" \/><\/p>\n<p>Select the <strong>Computer account<\/strong> option then click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37101 size-full\" title=\"vsphere-error-uploading-files-datastore-11\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-11.jpg\" alt=\"vsphere-error-uploading-files-datastore-11\" width=\"520\" height=\"388\" \/><\/p>\n<p>Select <strong>Local computer<\/strong> and click <strong>Finish<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37103 size-full\" title=\"vsphere-error-uploading-files-datastore-12\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-12.jpg\" alt=\"vsphere-error-uploading-files-datastore-12\" width=\"520\" height=\"388\" \/><\/p>\n<p>The <strong>Certificates (Local Computer)<\/strong> snap-in is created under <strong>Console Root<\/strong>. Select the new created item and click <strong>OK<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37105 size-large\" title=\"vsphere-error-uploading-files-datastore-13\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-13-600x425.jpg\" alt=\"vsphere-error-uploading-files-datastore-13\" width=\"600\" height=\"425\" \/><\/p>\n<p>Expand <strong>Certificates (Local Computer)<\/strong> and <strong>Trusted Root Certification Authorities<\/strong> items then right click <strong>Certificates<\/strong>. Select <strong>All-Tasks &gt; Import<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37107 size-large\" title=\"vsphere-error-uploading-files-datastore-14\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-14-600x372.jpg\" alt=\"vsphere-error-uploading-files-datastore-14\" width=\"600\" height=\"372\" \/><\/p>\n<p>Click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37109 size-full\" title=\"vsphere-error-uploading-files-datastore-15\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-15.jpg\" alt=\"vsphere-error-uploading-files-datastore-15\" width=\"535\" height=\"523\" \/><\/p>\n<p>Click <strong>Browse<\/strong> and access the <strong>appropriate folder<\/strong>\u00a0(lin, mac, or win) previously extracted from the ZIP file based on the used OS. Select the\u00a0<strong>.CRT file<\/strong> and click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37111 size-full\" title=\"vsphere-error-uploading-files-datastore-16\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-16.jpg\" alt=\"vsphere-error-uploading-files-datastore-16\" width=\"535\" height=\"523\" \/><\/p>\n<p>Select <strong>Place all certificates in the following store<\/strong> option. Make sure the specified <strong>Certificate store<\/strong> is <em>Trusted Root Certification Authorities<\/em> then click <strong>Next<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37113 size-full\" title=\"vsphere-error-uploading-files-datastore-17\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-17.jpg\" alt=\"vsphere-error-uploading-files-datastore-17\" width=\"535\" height=\"523\" \/><\/p>\n<p>Click <strong>Finish<\/strong>\u00a0to import the certificate.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37115 size-full\" title=\"vsphere-error-uploading-files-datastore-18\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-18.jpg\" alt=\"vsphere-error-uploading-files-datastore-18\" width=\"535\" height=\"523\" \/><\/p>\n<p>The certificate has been imported successfully. Click <strong>OK<\/strong> to close the window.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37117 size-full\" title=\"vsphere-error-uploading-files-datastore-19\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-19.jpg\" alt=\"vsphere-error-uploading-files-datastore-19\" width=\"247\" height=\"165\" \/><\/p>\n<p>After importing the certificate in the used browser, access the <a href=\"https:\/\/nolabnoparty.com\/en\/vsphere-6-7-install-vcsa-6-7-pt-1\/\">vCenter Server<\/a> once again. This time the URL is marked as <strong>Secure<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37119 size-large\" title=\"vsphere-error-uploading-files-datastore-20\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-20-600x420.jpg\" alt=\"vsphere-error-uploading-files-datastore-20\" width=\"600\" height=\"420\" \/><\/p>\n<p>Trying to upload a file to datastore, the operation is\u00a0now <strong>executed without any problem<\/strong>.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-37121 size-large\" title=\"vsphere-error-uploading-files-datastore-21\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2019\/01\/vsphere-error-uploading-files-datastore-21-600x460.jpg\" alt=\"vsphere-error-uploading-files-datastore-21\" width=\"600\" height=\"460\" \/><\/p>\n<p>After installing the correct certificate, operations such as files upload to datastores can be completed successfully.<\/p>\n<p><img decoding=\"async\" title=\"signature\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"signature\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When attempting to upload any files to a datastore in the\u00a0VMware vSphere\u00a0infrastructure, 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\u00a0Details to get additonal information.<\/p>\n","protected":false},"author":3,"featured_media":37081,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[903,2701],"tags":[682,885,1944,700],"class_list":["post-36368","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware-en","category-vsphere-en","tag-certificate-en","tag-datastore","tag-untrusted","tag-vsphere-en","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/36368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=36368"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/36368\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/37081"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=36368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=36368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=36368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}