title: How to enable HTTP2 for Wildfly 10.1
body: <p>I am trying to enable HTTP2 on wildfly 10.1 .</p>
  
  <p>According to <a href="https://wildfly.org/news/2016/08/19/WildFly10-1-Released/" rel="nofollow noreferrer">official declarations</a> all I had to do was point the browser to port 8443. I did so and indeed the test certs were automatically created.</p>
  
  <p>From the logs:</p>
  
  <blockquote>
    <p>[org.jboss.as.domain.management.security] (default I/O-3) WFLYDM0113:
    Generated self signed certificate at
    C:\wildfly-10.1.0.Final\standalone\configuration\application.keystore.
    Please note that self signed certificates are not secure, and should
    only be used for testing purposes. Do not use this self signed
    certificate in production.</p>
  </blockquote>
  
  <p>The listeners are configured to allow HTTP2.</p>
  
  <pre><code>&lt;server name="default-server"&gt;
   &lt;http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true"/&gt;
   &lt;https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/&gt;
   &lt;host name="default-host" alias="localhost"&gt;
       &lt;location name="/" handler="welcome-content"/&gt;
       &lt;filter-ref name="server-header"/&gt;
       &lt;filter-ref name="x-powered-by-header"/&gt;
   &lt;/host&gt;
  &lt;/server&gt;
  </code></pre>
  
  <p>When I use developer tools to inspect the transfer protocol of the first page I see tha it is still using <strong>http/1.1</strong></p>
  
  <p><a href="https://i.stack.imgur.com/eOUjr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eOUjr.png" alt="enter image description here"></a></p>