The IIS WMI soap path is "//servername/root/WebAdministration" so we can remote to configure the server IIS.
always use the connection options at below:
then connect to the site which we want to configure like this
check the port which we want set sslbinging if not exist create it;
set ssl binging on the port
note: the certficate must already exist in the My store on localmachine, for example use makecert create a self-signed ca run cmd
that's all!
本文介绍如何通过WMI远程配置IIS服务器,设置SSL绑定。首先,建立到IIS服务器的连接,然后检查指定端口的SSL绑定是否存在。如果不存在,将创建新的SSL绑定,并确保证书已在本地机器的个人存储中存在。

711

被折叠的 条评论
为什么被折叠?



