Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4720

AWS NLB -> HA TCP (sni) -> ALB (Certs Term SSL)

$
0
0

@FrancisL wrote:

Anyone have done the Configuration that I am stating in here? I tried with version 1.8.8 / 1.8.9

Somehow it seems, the connection gets established ( and uses H2 protocol but at some point in the requests some https requests fails stating invalid ssl response type of thing )

frontend marathon_https_proxy_in
    bind-process  2
  
  bind *:442 # accept-proxy (cannot use accept proxy?)
  mode tcp

  tcp-request inspect-delay 5s
  tcp-request content accept if { req_ssl_hello_type 1 }
  acl simpletest req.ssl_sni -i a.domain.i.own.com  # ext1
  use_backend alb_external_ssl if simpletest req.ssl_sni # ext2

backend alb_external_ssl
  mode tcp
  option ssl-hello-chk
  default-server init-addr none resolvers dns resolve-prefer ipv4
  server amazon-internal-alb-1 testalb.us-east-1.elb.amazonaws.com:443 resolvers dns resolve-prefer ipv4
  server amazon-internal-alb-2 testalb.us-east-1.elb.amazonaws.com:443 resolvers dns resolve-prefer ipv4

Is something like this supposed to work ? I believe ALB doesn’t supports proxy protocol (yet) so unfortunately the IP of the original request is lost also…

Any inputs would be interesting if anyone else have tried that.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4720

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>