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

    HAProxy rewrite SSL handshake failed

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 439 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.
    • D
      debug1
      last edited by

      Hello,

      I've set up a simple HAProxy to offload SSL. Like so:

      0.0.0.0:43438 (https) -> HAProxy -> backend 10.200.0.10:80 (http)

      everything works fine, but the http to https redirect doesn't.

      I tried:

      • Rule: schema https
      • Rule: scheme https unless { ssl_fc }
      • Adv. pass thru rule: same as above
      • Adv. pass thru rule: something with 301 redirect
      • second haproxy for plain connection to https redirect

      nothing seems to work. I also checked the config file directly and can't figure out why it's not working. It seems like a trivial, everyday problem.

      I am testing with curl -v -L against the http site and get a empty reply from server, not redirect, no nothing.

      Thanks for the support

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