vSphere Client でファイルをアップロードすると ESXi 証明書に関するエラーが表示される場合がある
search cancel

vSphere Client でファイルをアップロードすると ESXi 証明書に関するエラーが表示される場合がある

book

Article ID: 441355

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

免責事項:これは英文の記事「Uploading files through vSphere Client may report an error related to Esxi Certificate」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。


  • コンテンツライブラリまたはデータストアへのファイルアップロードを開始したり OVF または OVA テンプレートのデプロイを試みると以下エラーで操作が失敗する場合がある。

    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://<Esxihost-ip>
  • Host Client を使用してファイルをアップロードすると成功する。

Environment

vSphere

Cause

クライアントマシンから ESXi ホストへの直接的なネットワークアクセスが無いか、TCP ポート (443、902) が環境でブロックされています。

Resolution

注意:この設定の使用は (セキュリティ強化のため) クライアントから ESXi への直接的な接続ができない状況に限ってください。このオプションは全ての転送トラフィックを vCenter Server 経由で行われるようにするため vCenter Server Appliance (VCSA) 上でネットワークおよび処理のオーバーヘッドが発生する可能性があります。

この手順によりダウンロード/アップロード操作は vCenter Server 経由で行われるようになります。

手順:

  1. 事前にバックアップまたはスナップショットを取得します。ELM の場合 VMware vCenter in Enhanced Linked Mode pre-changes snapshot best practice を参照します。

  2. vCenter Server Appliance へ SSH 経由で接続します。

  3. 以下コマンドを使用して webclient.properties をバックアップします。
    cp /etc/vmware/vsphere-ui/webclient.properties  /etc/vmware/vsphere-ui/webclient.properties.backup

  4. 以下コマンドを使用して webclient.properties ファイルを編集します。
    vi /etc/vmware/vsphere-ui/webclient.properties

  5. 以下行を追加します。
    filesbrowser.alwaysDownloadUploadFromVc=true

  6. :wq! を使用して保存および終了します。
     
  7. webclient service を再起動します。

service-control --restart vsphere-ui

Additional Information

Uploading files through vSphere Client you receive the following error: "The operation failed for an undetermined reason