IIS Server Multi-site HTTPS certificate uses a 443 port solution

Source: Internet
Author: User

By default, one server IIS can only bind one HTTPS that is 443 ports to implement multiple sites corresponding to HTTPS can only change the IIS configuration first assign each site a different port, such as 443.444.445 ... (The certificate must be multidomain) then restart site method one: Then in: C:\Windows\system32\inetsrv\config\applicationHost.config find <bindingprotocol= "https "Bindinginformation=" *:443 "/><binding protocol=" https "bindinginformation=" *:444 "/><binding protocol= "https" bindinginformation= "*:445"/> Modified to: <binding protocol= "https" bindinginformation= "*:443:domain (corresponding domain name)"/ ><binding protocol= "https" bindinginformation= "*:443:domain"/><binding protocol= "https" bindinginformation= "*:443:domain"/> Remember that you need to modify each site that corresponds. Do not restart the site and the entire IIS server, or you will need to re-operate the top steps!

Method Two:

    • Execute command directly, add 443 host Header
    • Locate the identifier for the site, and the number after the location path of the corresponding site in the MetaBase.xml file w3svc/is the site identity.
    • Optionally configure 443 host headers for www and no www or other level two sites, open cmd, execute command: cscript.exe C:\Inetpub\AdminScripts\adsutil.vbs set/w3svc/ 1592095342/securebindings ": 443:www.abc.com"
    • Test access. After the configuration is complete, the sites are accessed through HTTPS, confirming that the sites are jumping correctly.
Precautions Note: (1) Confirm the real directory of Adsutil.vbs, generally: C:\Inetpub\AdminScripts; (2) in the example "1592095342" is the site identifier, "www.abc.com" is the host header for which you want to bind 443 ports. (3) 443 is the default port of the HTTPS protocol, that is, the default port (if you set a different SSL port for the site, you do not need to follow this document to configure the host header, directly https+ domain + port number access. ) Original link: Https://bbs.wosign.com/forum.php?mod=viewthread&tid=1668&highlight=IIS

IIS Server Multi-site HTTPS certificate uses a 443 port solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.