IIS7 配置ssl證書 多域名綁定443端口


 IIS7下多個子域名同時配置https協議,但IIS7默認支持單個443端口造成端口沖突;

解決方案:先把每個域名配置不同的端口 例:444,445,446等

然后在:C:\Windows\system32\inetsrv\config\applicationHost.config

找到

<binding protocol="https" bindingInformation="*:443" />

   <binding protocol="https" bindingInformation="*:444" />

<binding protocol="https" bindingInformation="*:445" />

 

修改成:

 <binding protocol="https" bindingInformation="*:443:www.domain.com" />

<binding protocol="https" bindingInformation="*:443:www.domain.com" />

<binding protocol="https" bindingInformation="*:443:www.domain.com" />

切記需要對應的每個站點都修改。

 

然后在iis的站點上重新選擇下證書,重啟iis站點。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM