Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Haproxy: how to implement http/2-Support in pfsense

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 3 Posters 2.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      treuss
      last edited by

      Hi there,

      I found an article[1], explaining how to setup haproxy for handling http/2 requests.

      Using another Backend in pfsense and the following lines in my https frontend

      
      bind ... alpn h2,http/1.1 ...
      ...
      use_backend http2 if { ssl_fc_alpn -i h2 }
      
      

      just gave me this error:

      Errors found while starting haproxy
      [ALERT] 217/145506 (76220) : parsing [/var/etc/haproxy_test/haproxy.cfg:105] : 'bind 46.16.79.179:443' : 'alpn' : library does not support TLS ALPN extension
      [ALERT] 217/145506 (76220) : parsing [/var/etc/haproxy_test/haproxy.cfg:173] : error detected while parsing switching rule : unknown fetch method 'ssl_fc_alpn' in ACL expression 'ssl_fc_alpn'.

      Is there any way to configure haproxy in pfsense in order to enable http/2?

      Our Setup:

      • pfSense: 2.3.1-RELEASE-p5

      • haproxy-devel Package 0.49 = haproxy-devel-1.7.d3

      Thanks in advance
      Thomas

      [1]http://m12.io/blog/http-2-with-haproxy-and-nginx-guide

      1 Reply Last reply Reply Quote 0
      • B
        baldy
        last edited by

        Hi,

        any news here? did you get it running?

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          Not supported by currently used openssl version.

          $ openssl version
          OpenSSL 1.0.2k-freebsdĀ  26 Jan 2017
          
          
          1 Reply Last reply Reply Quote 0
          • T
            treuss
            last edited by

            Not supported by currently used openssl version.

            @doktornotor is this still true for v.2.4.0 ?

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              Yes, you can easily check for yourself.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.