How to Enable HTTP/s on IIS?

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Enable HTTPS in IIS

Windows Web Server, or Internet Information Services (IIS), is a Microsoft web server that runs on the Windows OS and can – host, deploy, and manage web applications using technologies like ASP.Net, PHP, etc. The latest version of IIS is IIS 10, which supports the HTTP/2 protocol, offering lower latency than HTTP 1.1 and improved resource utilization.

In this article, we will explore: “How to enable HTTP/2 protocol on IIS?”. But before we do that, it would be better to be aware of important points related to the use of HTTP.2 on IIS.

Important Points To Consider

  • IIS 8.5 on Windows Server 2012 R2 or lower version does not support HTTP/2 protocol.
  • Windows 10 and Windows Server 2016 support HTTP/2. 
  • As of now, IIS only supports HTTP.2 over Transport Layer Security.
  • There are currently no new configuration settings in IIS exclusive to HTTP/2, and there is no need to create a new DuoEnabled registry key and set it to 1.
  • If both – your server and browser support HTTP/2, IIS will automatically use it. If not possible for some reason, it will fall back to HTTP 1.1.
  • If you have enabled HTTP/2 on IIS and are using Windows authentication methods like NTLM, Kerberos, Negotiate, etc., IIS will revert to HTTP/1.1 as h2 does not support such methods.
  • Using IIS’s feature to limit the bandwidth will work for HTTP/1.1 but won’t affect HTTP/2.

How to Enable HTTP/2 on IIS?

You can enable HTTP/2 on IIS using these three steps:

  1. Install Internet Information Service Manager.
  2. Create a self signed certificate.
  3. Bind the certificate.

Now, let’s comprehend how to perform these three steps in detail.

Install Internet Information Service Manager

Follow the steps mentioned below to install IIS Manager:

  • Click Search, placed on the taskbar.
  • Type Turn Windows features on or off, and press Enter.
  • The Windows Features dialog box will appear. (It may take a minute to load.)
  • Check the box in front of the Internet Information Services option.
  • Click OK.
Internet Information Service
  • Install the Internet Information Service Manager by following the on-screen instructions.

Create a Self signed certificate

Note: It’s not recommended to use self-signed certificate as they can’t stop security warnings and not trustworthy.

Follow the steps mentioned below to create a self-signed certificate:

  • Click Search, placed on the taskbar.
  • Type IIS Manager and press Enter.
  • The Internet Information Service (IIS) Manager window will appear.
  • In the Internet Information Service (IIS) Manager window, perform the following actions:
    • Double-click on Server Certificates.
    • Under the Actions column, click Create Self-Signed Certificate.
    • In the Specify a friendly name for the certificate field, type a name as per your preference.
    • From the Select a certificate store for the new certificate list, select Web Hosting.
    • Click OK.
Create Self-Signed Certificate

Bind the certificate

Follow the steps mentioned below to bind the certificate:

  • Under the Connections column, expand Sites.
  • Click Default Web Site.
  • Under the Actions column, click Bindings.
  • The Site Binding dialog box will appear.
  • Click Add.
  • The Add Site Binding dialog box will appear.
  • From the Type list, select https.
  • From the SSL certificate list, select the name of the certificate that you created earlier.
  • Click OK.
Add Site Binding

How can you verify that HTTP/2 has been enabled?

To verify whether HTTP/2 is enabled or not, you can use Developer Tools. Follow the steps mentioned below to accomplish the same:

  • Open a fresh tab on Chrome.
  • Enter the site’s URL.
  • Click the Customize and control Google Chrome icon (three vertical dots).
  • From the list, select More tools.
  • Click Developers tools.
  • Click on the Network tab.

Observe the value under the Protocol column. It will be showing as h2, which verifies that HTTP/2 has been enabled on IIS.

Verify Https Protocol


Enabling HTTP/2 or h2 in IIS is a simple task and can be accomplished by performing three simple steps. First, install IIS Manager; Second, make a self signed certificate; third, bind that certificate.

Recommended: How to Generate CSR on Microsoft IIS Web Server?

Recommended: How to Install SSL Certificate on Microsoft IIS?

Buy SSL Certificates
<?xml version="1.0" encoding="UTF-8"?><svg id="Layer_1" xmlns="" viewBox="0 0 109.7 29.02"><defs><style>.cls-1{fill:#fff;}</style></defs><path class="cls-1" d="m5.38,22.85c-3.1-.26-5.3-1.92-5.38-4.8h3.6c.1,1.1.67,1.85,1.78,2.09v-4.58c-2.47-.62-5.38-1.32-5.38-4.87,0-2.83,2.26-4.68,5.38-4.92v-1.94h1.54v1.94c3,.24,5.02,1.85,5.23,4.7h-3.62c-.1-.94-.67-1.66-1.61-1.94v4.54c2.5.65,5.42,1.3,5.42,4.85,0,2.45-1.92,4.73-5.42,4.97v1.94h-1.54v-1.97Zm0-10.25v-4.15c-1.1.17-1.87.84-1.87,2.06,0,1.13.77,1.7,1.87,2.09Zm1.54,3.38v4.2c1.22-.22,1.94-1.06,1.94-2.14s-.82-1.68-1.94-2.06Z"/><path class="cls-1" d="m17.62,8.33h-2.33v-3.1h5.78v17.5h-3.46v-14.4Z"/><path class="cls-1" d="m28.27,17.81c.26,1.39,1.15,2.18,2.71,2.18,1.97,0,2.83-1.46,2.83-5.4-.74,1.03-2.16,1.63-3.7,1.63-3.02,0-5.45-1.9-5.45-5.59,0-3.5,2.21-5.81,5.91-5.81,4.75,0,6.22,3.22,6.22,8.76,0,5.95-1.32,9.17-5.95,9.17-3.72,0-5.5-2.38-5.69-4.94h3.12Zm5.23-7.15c0-1.92-1.1-2.98-2.81-2.98s-2.81,1.18-2.81,2.93c0,1.58.89,2.88,2.93,2.88,1.68,0,2.69-1.13,2.69-2.83Z"/><path class="cls-1" d="m41.28,22.9c-1.22,0-2.09-.86-2.09-1.97s.86-1.97,2.09-1.97,2.04.86,2.04,1.97-.86,1.97-2.04,1.97Z"/><path class="cls-1" d="m49.54,17.81c.26,1.39,1.15,2.18,2.71,2.18,1.97,0,2.83-1.46,2.83-5.4-.74,1.03-2.16,1.63-3.7,1.63-3.02,0-5.45-1.9-5.45-5.59,0-3.5,2.21-5.81,5.91-5.81,4.75,0,6.22,3.22,6.22,8.76,0,5.95-1.32,9.17-5.95,9.17-3.72,0-5.5-2.38-5.69-4.94h3.12Zm5.23-7.15c0-1.92-1.1-2.98-2.81-2.98s-2.81,1.18-2.81,2.93c0,1.58.89,2.88,2.93,2.88,1.68,0,2.69-1.13,2.69-2.83Z"/><path class="cls-1" d="m64.56,17.81c.26,1.39,1.15,2.18,2.71,2.18,1.97,0,2.83-1.46,2.83-5.4-.74,1.03-2.16,1.63-3.7,1.63-3.02,0-5.45-1.9-5.45-5.59,0-3.5,2.21-5.81,5.9-5.81,4.75,0,6.22,3.22,6.22,8.76,0,5.95-1.32,9.17-5.95,9.17-3.72,0-5.5-2.38-5.69-4.94h3.12Zm5.23-7.15c0-1.92-1.1-2.98-2.81-2.98s-2.81,1.18-2.81,2.93c0,1.58.89,2.88,2.93,2.88,1.68,0,2.69-1.13,2.69-2.83Z"/><path class="cls-1" d="m81.79,0h3.29l-6.48,27.07h-3.29L81.79,0Z"/><path class="cls-1" d="m96.89,9.43h3.58l-8.23,19.59h-3.58l2.88-6.62-5.33-12.96h3.77l3.43,9.29,3.48-9.29Z"/><path class="cls-1" d="m105.62,22.73h-3.36v-13.3h3.36v2.06c.84-1.37,2.23-2.26,4.08-2.26v3.53h-.89c-1.99,0-3.19.77-3.19,3.34v6.62Z"/></svg>