IIS7 binding multiple HTTPS websites and applying self-signed certificates

Source: Internet
Author: User

This article mainly describes how to add multiple Web sites in IIS and use the same digital signing certificate (win7+iis7.5)

    1. IIS adds a site site1 with a port number of 80 and a host name of NULL. Such as:

    2. Create certificate Iis->server certificates–>create self-signed Certificate, enter certificate title
      Such as:


    3. Bind a certificate, such as


      Note: Step 5 The selected certificate name should be "*.ucredit", here is a small error.

    4. Open the C:\Windows\System32\drivers\etc\hosts file with Notepad, site1.ucredit.com the domain name with 127.0.0.1
      To associate. Such as

      You can access the site Site1 by opening the browser input https://site1.ucredit.com .

    5. Same Step 1, add site2, port number is 80, but this time to enter the hostname site2.ucredit.com, for has been set up,



    6. With step three, associate the domain name site2.ucredit.com with the 127.0.0.1

    7. Bind a certificate to a site Site2

      Open cmd as Administrator, navigate to directory: C:\Windows\System32\inetsrv

      Input: Appcmd set Site "Site2"/+bindings. [protocol= ' https ', bindinginformation= ' *:443:site2.ucredit.com ']

      such as: where "Site2" is the site name, site2.ucredit.com is the hostname.


      Repeat step 6 if you need to add more than one Web site.

      Note: Because it is a native test, you need to configure the C:\Windows\System32\drivers\etc\hosts file to configure the host name on the server.

      At this point, the end. Reference Link: https://www.sslshopper.com/article-ssl-host-headers-in-iis-7.html

IIS7 binding multiple HTTPS websites and applying self-signed certificates

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.