use WMI Set SSLbingings on IIS

本文介绍如何通过WMI远程配置IIS服务器,设置SSL绑定。首先,建立到IIS服务器的连接,然后检查指定端口的SSL绑定是否存在。如果不存在,将创建新的SSL绑定,并确保证书已在本地机器的个人存储中存在。

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!

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值