admin 管理员组

文章数量: 887021


2024年2月25日发(作者:删除oracle11g数据库)

Vmware vCenter 7.0上传文件至存储卷:提示不信任证书,导致无法上传

vSphere: error when uploading files to

datastores

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.

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

browser.

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.

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, Click the Download trusted root CA certificates link

in the right side.

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

certificates.

Unzip the downloaded file to a folder of your computer. Three folders are extracted for the supported

OSs: lin, mac, win.

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

Management Console.

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

Select Certificates item then click Add.

Select the Computer account option then click Next.

Select Local computer and click Finish.

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

item and click OK.

Expand Certificates (Local Computer) and Trusted Root Certification Authorities items then

right click Certificates. Select All-Tasks > Import.

Click Next.

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.

Select Place all certificates in the following store option. Make sure the specified Certificate

store is Trusted Root Certification Authorities then click Next.

Click Finish to import the certificate.

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

After importing the certificate in the used browser, access the vCenter Server once again. This time

the URL is marked as Secure.

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

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

successfully.


本文标签: 证书 上传 无法 信任 导致