IIS7绑定多个HTTPS网站并应用自签名证书!
时间:2014-05-12 21:10:07
收藏:0
阅读:485
下载SelfSSL.exe:http://cid-3c8d41bb553e84f5.skydrive.live.com/browse.aspx/SelfSSL?authkey=yeHVTUTVzGE$
1、创建带签名的可信任域名证书!
selfssl /N:CN=*.guwanch.com /V:20000 /t
2、绑定https网站
c:\windows\system32\inetsrv\appcmd set site "test1.guwanch.com" /+bindings.[protocol=‘https‘,bindingInformation=‘*:443:test1.guwanch.com‘]
c:\windows\system32\inetsrv\appcmd set site "test2.guwanch.com"
/+bindings.[protocol=‘https‘,bindingInformation=‘*:443:test2.guwanch.com‘]
评论(0)