aidevs
V2EX  ›  问与答

IIS 如何配置多个 Https 域名?已经 baidu google 无解

  •  
  •   aidevs · Dec 16, 2015 · 4365 views
    This topic created in 3980 days ago, the information mentioned may be changed or developed.
    iis 下新建了一个 https 站点,但是无法绑定 host name

    导致一台服务器只能做一个 https 站点
    10 replies  •  2016-06-18 17:43:58 +08:00
    Andy1999
    Andy1999
    Dec 16, 2015 via iPhone
    1
    C:\Windows\system32\inetsrv\config\applicationHost.config
    搜索你的站点名称找到*:443:的配置项,改成*:443:domain
    pubby
    pubby
    Dec 16, 2015 via Android
    2
    搜 IIS SNI ,貌似要 IIS8 以上
    aidevs
    aidevs
    OP
    Dec 16, 2015
    3
    @Andy1999 试过完全没用
    hellojinjie
    hellojinjie
    Dec 16, 2015
    4
    https 如果一台服务器只有一个 IP 的话,只能配一个站点的吧,除非你绑定多个 IP
    Andy1999
    Andy1999
    Dec 16, 2015
    5
    @dbfox 你还是换 Nginx 吧
    alect
    alect
    Dec 16, 2015❤️1
    6
    @hellojinjie 可以用 SNI 啊。。
    Daddy
    Daddy
    Dec 16, 2015❤️1
    7
    @hellojinjie 老皇历了,支持 SNI 就可以了

    # nginx -V
    nginx version: nginx/1.8.0
    built by gcc 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
    built with OpenSSL 1.0.1f 6 Jan 2014
    TLS SNI support enabled
    hellojinjie
    hellojinjie
    Dec 17, 2015
    8
    @alect
    @Daddy

    果然我落伍了,我还停留在 XP 时代 》——《
    看了下什么是 SNI
    https://en.wikipedia.org/wiki/Server_Name_Indication
    crazycen
    crazycen
    Dec 17, 2015 via iPhone
    9
    上 server2012 iis8.5
    forty
    forty
    Jun 18, 2016
    10
    服务端只要 IIS 8 以上就可以,但是客户端, XP 上的所有 IE 版本不支持。以 V2EX 的用户群,可以忽略 xp.
    具体配置方法参考该手册:
    http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-server-name-indication-sni-ssl-scalability
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3518 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 10:10 · PVG 18:10 · LAX 02:10 · JFK 05:10
    ♥ Do have faith in what you're doing.