Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2824

JDK8HackAlpnProvider doesn't work for client when used with elytron ssl-context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Beta22
    • None
    • Security
    • None
    • Hide
      1. unzip two installations of EAP, one shall be used as balancer and one as worker.
      2. update paths to keystores in the attached configuration files to point to directory in which you unpacked the attached certs.zip
      3. start the balancer => ./standalone.sh -c standalone-load-balancer.xml
      4. start the worker and deploy to it some application (as you have them on the same machine, you need to shift ports) => ./standalone.sh -c standalone-ha.xml -Djboss.socket.binding.port-offset=100
      5. create http2 request to the balancer https listener and see in worker access-log whether HTTP/2 was actually used.
      Show
      unzip two installations of EAP, one shall be used as balancer and one as worker. update paths to keystores in the attached configuration files to point to directory in which you unpacked the attached certs.zip start the balancer => ./standalone.sh -c standalone-load-balancer.xml start the worker and deploy to it some application (as you have them on the same machine, you need to shift ports) => ./standalone.sh -c standalone-ha.xml -Djboss.socket.binding.port-offset=100 create http2 request to the balancer https listener and see in worker access-log whether HTTP/2 was actually used.

      When I setup undertow as proxy and one server behind it, even when I define that there should be used HTTP/2 (possible with mod_cluster filter) for proxy to worker communication it isn't used for default undertow ALPN JDK8 implementation.

      It is possible to make it work with openssl ALPN provider but not with the default one, which I believe it should work with as well.

      EDIT: doesn't work only with elytron based ssl-context.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              sdouglas1@redhat.com Stuart Douglas (Inactive)
              Radim Hatlapatka Radim Hatlapatka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: