在XP下使用vsphere client 5.5 访问vCenter

在XP下安装vsphere client 5.5后,连接VCENTER 5.5或esxi5.5 出现错误如下:

vSphere Client could not connect to “FQDN or IP Address”
An unknown connection error occurred. (The Client could not send a complete request to the server. (The underlying connection was closed: An unexpected error occurred on a send.



 

出现该问题的原因是新版本vSphere Cient中增强了加密强度,而Windows XP和Windows Server 2003未能达到所需加密强度,因為 ESXi 停用了較不安全的 cipher suite
而 XP/2003 正是使用了不夠安全的 cipher suite 去連線

由于微软已经停止对XP支持并未发布相应补丁

解决方法:

修改VCenter Server配置文件vpxd.cfg

文件路径:c:\programdata\vmware\vmware virtual center\  或 /etc/vmware-vpx/ 

找到如下内容:<ssl>
<useCompression>true</useCompression>
</ssl>

修改为下面内容:

<ssl>
<cipherList>ALL</cipherList>
<useCompression>true</useCompression>
</ssl>

然后重启VC服务即可正常访问

对于esxi主机,解决方法如下:

  1. ssh 連線到 ESXi
  2. 移動到設定檔的位置:cd /etc/vmware/rhttpproxy/
  3. 先做個備份:cp config.xml config_bak.xml
  4. 修改 config.xml :vi config.xml
  5. 找到 <vmacore> 裡面的 <ssl> 區塊
  6. 在裡面加上一行:<cipherList>ALL</cipherList>
  7. 存檔後重啟服務:/etc/init.d/rhttpproxy restart

修改後的 ssl 區塊應該長成這樣:

< ssl >
     < doVersionCheck > false </ doVersionCheck >
     < useCompression >true</ useCompression >
     < libraryPath >/lib/</ libraryPath >
     < handshakeTimeoutMs >120000</ handshakeTimeoutMs >
     <cipherList>ALL</cipherList>
</ ssl >

上述步驟做完後我就可以正常連線了。

猜你喜欢

转载自emcome.iteye.com/blog/2066796
5.5