Home  >  Article  >  Operation and Maintenance  >  Detailed introduction of how to configure SSL certificate in IIS7 and bind multiple domain names to port 443

Detailed introduction of how to configure SSL certificate in IIS7 and bind multiple domain names to port 443

黄舟
黄舟Original
2017-06-05 09:37:254670browse

Multiple subdomains under IIS7 are configured with https protocol at the same time, but IIS7 supports a single 443 port by default, causing port conflicts;

Solution: First configure different ports for each domain name. Example: 444, 445, 446, etc.

Then find: C:\Windows\system32\inetsrv\config\applicationHost.config

Find

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

and modify it to:

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

Remember to correspond to each site All modified.

Then reselect the certificate on the iis site and restart the iis site.

The above is the detailed content of Detailed introduction of how to configure SSL certificate in IIS7 and bind multiple domain names to port 443. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn