在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 >

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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值