在 vSphere Client 中连接到 Site Recovery Manager 界面失败。

问题

在 vSphere Client 的主页中单击站点恢复图标时,与 Site Recovery Manager 连接失败,并显示以下消息:

与本地 Site Recovery Manager https:SRM_address:8095/dr 的连接失败 (Connection to local Site Recovery Manager https:SRM_address:8095/dr failed)

Site Recovery Manager 日志显示证书错误:

Failed to establish connection to VMware vCenter.
: std::exception 'class Vmacore::Ssl::SSLVerifyException' 
"SSL Exception:
The remote host certificate has these problems: 
* The host name used for the connection does not match the subject name on the host certificate 
* The host certificate chain is not complete.

原因

如果 vCenter Server 的证书与 Site Recovery Manager 需要的证书不匹配(例如在安装 Site Recovery ManagervCenter Server 的证书已更改),则可能出现此问题。

解决方案

vCenter Server 证书还原为安装 Site Recovery Manager 时使用的证书,或安装新的 vCenter Server 证书。