我们目前使用appcmd.exe动态创建IIS网站,其中包含了必要的http/https绑定。
appcmd add site /name:www.example.com /bindings:"http://www.example.com:80","https://www.example.com:443" /physicalPath:"c:\sites\www.example.com"有没有办法告诉https绑定使用SNI?
我们使用的是IIS8.5 /Windows2012 R2
发布于 2017-07-21 14:20:37
我还无法确定在使用add site appcmd指定绑定属性值时使用的必要分隔符,但是我已经用set site appcmd实现了这一点,如下所示:
appcmd set site /site.name:www.example.com /+bindings.[protocol='https',bindingInformation='*:443:www.example.com',sslFlags='1']似乎也应该有一种使用sslFlags命令指定add site的方法,但我还没有弄清楚。
https://serverfault.com/questions/815662
复制相似问题