Skip to main content
SnapCenter software
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

使用 Windows 主机插件服务配置 CA 证书

您应该使用 Windows 主机插件服务配置 CA 证书以激活已安装的数字证书。

在SnapCenter服务器和所有已部署 CA 证书的插件主机上执行以下步骤。

步骤
  1. 通过运行以下命令删除与 SMCore 默认端口 8145 的现有证书绑定:

    > netsh http delete sslcert ipport=0.0.0.0:_<SMCore Port>

    例如:

     > netsh http delete sslcert ipport=0.0.0.0:8145
    . 通过运行以下命令将新安装的证书与 Windows 主机插件服务绑定:
    > $cert = “_<certificate thumbprint>_”
    > $guid = [guid]::NewGuid().ToString("B")
    > netsh http add sslcert ipport=0.0.0.0: _<SMCore Port>_ certhash=$cert appid="$guid"

    例如:

    > $cert = “a909502dd82ae41433e6f83886b00d4277a32a7b”
    > $guid = [guid]::NewGuid().ToString("B")
    > netsh http add sslcert ipport=0.0.0.0: _<SMCore Port>_ certhash=$cert appid="$guid"