เจอปัญหาแปลกพยายามคัดลอก (อัปโหลด) ไฟล์ใดๆ (ISO, vmdk, OVA/OVF ฯลฯ) ไปยัง VMFS Datastore ใน VMware vSphere (6.7) เมื่อคลิกปุ่ม "Upload Files" ใน vSphere Client Interface Error "The operation failed" ปรากฏ

เพื่อดูรายละเอียด Error คลิก Details
ในหน้าต่าง Error มีข้อความ:
The operation failed for an undetermined reason.
ปัญหานี้มักเกิดจาก Certificate ที่เบราว์เซอร์ไม่น่าเชื่อถือ หากใช้ Self-Signed หรือ Custom Certificates ให้เปิด URL ด้านล่างในแท็บเบราว์เซอร์ใหม่ และยอมรับ Certificate แล้วลองใหม่
https:// my-vcenter
หากไม่แก้ปัญหาได้ วิธีแก้อื่นๆ อยู่ใน KB Article: https://kb.vmware.com/kb/2147256

เห็นจาก Error ว่าปัญหาเกี่ยวกับ SSL Certificate ที่ไม่ไว้วิ้วถือใจบน vCenter Server (Certificate เป็น Self-Signed หรือออกโดย CA ที่ไม่น่าเชื่อถือ) เพื่อแก้ปัญหานี้ ต้องทำตามคำแนะนำในบทความ "SSL Certificate security warning on vSphere"
ใน vSphere 6.5 และ 6.7 เพิ่ม Certificate ของ vCenter เข้า Trusted Certificates ในเบราว์เซอร์เพียงอย่างเดียวไม่พอ หาก Self-Signed Certificate ไม่ได้ถูกเพิ่มเข้า Trusted Root Certification Authorities Store บนคอมพิวเตอร์ vSphere Web Client จะไม่อนุญาตให้อัปโหลดไฟล์ไป VMFS Datastore
เพื่อเพิ่ม Certificate ของ vCenter เข้า Trusted Certificates ไปที่หน้าเริ่มต้น vSphere และคลิก "Download trusted root CA certificates" มุมขวาล่าง

ใน Downloads ไปที่โฟลเดอร์ ..\certs\win (มีโฟลเดอร์แยกสำหรับ Windows, Linux และ Mac Certificates) ดับเบิลคลิกไฟล์ *.crt และคลิกปุ่ม Install Certificate.

ใช้ Certificate Import Wizard วาง Certificate ของ vCenter ไปที่ Trusted Root Certificate Store บนคอมพิวเตอร์ (Local Machine → Trusted Root Certification Authorities)

เปิด Web Interface ของ vCenter และตรวจสอบว่าคำเตือน Untrusted Certificate ไม่ปรากฏ ตอนนี้สามารถอัปโหลดไฟล์ไป VMFS Datastore ได้

ใน Firefox ต้องเพิ่ม Certificate vSphere เข้า Trusted (Exception) List ในการตั้งค่าเบราว์เซอร์ หรือสลับ Firefox ให้ใช้ Certificates จาก Windows Certificate Store: about:config → security.enterprise_roots.enabled = True (มิฉะนั้นจะเห็น Error "Secure Connection Failed")
FireFox ต่างจากเบราว์เซอร์อื่น (Chrome, Opera, IE) ที่โดยค่าเริ่มต้นใช้ Trusted Certificate List ของตัวเอง