IIS7.5如何綁定2個網域、2個IP和2個證書

IIS7.5如何綁定2個網域、2個IP和2個證書

我正抓著救命稻草……希望你能幫我處理這台舊伺服器。

我想將domain1.com綁定到ip 123.456.7.1,將domain2.com綁定到123.456.7.2,每個都有自己的憑證。只要我將其配置為http,就沒有問題。我的綁定看起來像這樣:

          type   hostname       port    ip
site2 ->  http   domain1.com    80      123.456.7.1
site2 ->  http   domain2.com    80      123.456.7.2

但我想為每個網站綁定一個憑證。我使用 Certify-the-web 安裝程式來為我執行此操作。這導致:

          type   hostname       port    ip
site1 ->  http   domain1.com    80      123.456.7.1
          https  domain1.com    443     123.456.7.1

site2 ->  http   domain2.com    80      123.456.7.2
          https  domain2.com    443     123.456.7.2

這對domain1工作正常,但對domain2給予錯誤的憑證警告(根據Chrome和Firefox,它使用domain1的憑證)。當我檢查它們時,它在兩個 https 綁定中選擇了正確的憑證。我確實重新啟動了 IIS 中的每個網站。

我究竟做錯了什麼?

先致謝!

相關內容