IIS7绑定多个HTTPS网站并应用自签名证书!

时间:2014-05-12 21:10:07   收藏:0   阅读:485

下载SelfSSL.exehttp://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‘]

IIS7绑定多个HTTPS网站并应用自签名证书!,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!