IIS7配置https

时间:2023-03-09 22:42:05
IIS7配置https

To Install an SSL Certificate in Microsoft IIS 7

    1. Click Start, mouse-over Administrative Tools, and then click Internet Services Manager.
    2. In the Internet Information Services (IIS) Manager window, select your server.
    3. Scroll to the bottom, and then double-click Server Certificates.
    4. From the Actions panel on the right, click Complete Certificate Request....
    5. To locate your certificate file, click ....
    6. In the Open window, select *.* as your file name extension, select your certificate (it might be saved as a .txt, .cer, or .crt), and then click Open.
    7. In the Complete Certificate Request window, enter a Friendly name for the certificate file, and then click OK.

NOTE: For Wildcard SSL certificates make sure your Friendly Name to matches your Common Name (i.e. *.coolexample.com).

  1. In the Internet Information Services (IIS) Manager window, select the name of the server where you installed the certificate.
  2. Click + beside Sites, select the site to secure with the SSL certificate.
  3. In the Actions panel on the right, click Bindings....
  4. Click Add....
  5. In the Add Site Binding window:
    • For Type, select https.
    • For IP address, select All Unassigned, or the IP address of the site.
    • For Port, type 443.
    • For SSL Certificate, select the SSL certificate you just installed, and then click OK.
  6. Close the Site Bindings window.
  7. Close the Internet Information Services (IIS) Manager window. Your SSL certificate installation is complete.

Visit your website at https://www.coolexample.com (replacing coolexample.com with your domain name) to verify the installation. If you have problems, see Using the SSL Installation Tool to help diagnose issues.