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

    Haproxy Reverse proxy to old machine with old cipher

    Scheduled Pinned Locked Moved Cache/Proxy
    30 Posts 3 Posters 2.4k 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.
    • NightlySharkN
      NightlyShark @braunerroei
      last edited by

      @braunerroei New cert:
      e4435c34-389f-4a67-a446-421a9bfa2251-image.png

      B 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @braunerroei
        last edited by

        @braunerroei so your doing

        internet ---> ha proxy on pfsense (SSL cert X) ----> your device (ssl cert Y) ?

        And ha proxy is giving you the warning about cert Y?

        I just let ha proxy do ssl offload, and don't run certs on my destination service...

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • B
          braunerroei @NightlyShark
          last edited by

          @NightlyShark
          Thank you NightlyShark, but setting are already like you suggested.

          I get "503 Service Unavailable - No server is available to handle this request."

          1.png

          B 1 Reply Last reply Reply Quote 0
          • B
            braunerroei @braunerroei
            last edited by

            @braunerroei
            Thank you "johnpoz".

            This is just the way it is, but no working.
            As I said before, It was working with 2.7.0, that means, the configuration is good.

            -Roei

            johnpozJ 1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @braunerroei
              last edited by

              @braunerroei so which is - you get a 503 via haproxy - and then this error if you try to directly access the machine without going through ha proxy?

              ERR_SSL_VERSION_OR_CIPHER_MISMATCH"

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              B 1 Reply Last reply Reply Quote 0
              • B
                braunerroei @johnpoz
                last edited by

                @johnpoz
                Yep...

                johnpozJ 1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator @braunerroei
                  last edited by johnpoz

                  @braunerroei Well if you are directly connecting to the machine, and not going through ha proxy - how is it a pfsense thing?

                  In your browser can't you view the cert that was presented.. normally with such errors there is advanced button, view cert, etc.

                  And if there is some error that even your browser is complaining about - I would expect haproxy to have same sort of issue with the cert.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  NightlySharkN B 2 Replies Last reply Reply Quote 0
                  • NightlySharkN
                    NightlyShark @johnpoz
                    last edited by

                    @johnpoz Hi again! Could it be something about the upgrade to openssl 3 again?

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      braunerroei @johnpoz
                      last edited by

                      @johnpoz
                      Hello:
                      via HAProxy (fax.mydomain.com)- "503 Service Unavailable - No server is available to handle this request"

                      Direct (x.x.x.x) - "ERR_SSL_VERSION_OR_CIPHER_MISMATCH"

                      -Roei

                      johnpozJ 1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @braunerroei
                        last edited by

                        @braunerroei said in Haproxy Reverse proxy to old machine with old cipher:

                        Direct (x.x.x.x) - "ERR_SSL_VERSION_OR_CIPHER_MISMATCH"

                        Which has ZERO to do with pfsense - ZERO.. You don't go through pfsense if your directly accessing the machine, so no it wouldn't have anything to do with pfsense updating to openssl..

                        But yeah if you have something going on with it, then makes sense that haproxy would also complain. Fix it so your direct machine can access it.. And your haproxy issue most likely will be fixed as well.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          braunerroei @NightlyShark
                          last edited by

                          @NightlyShark said in Haproxy Reverse proxy to old machine with old cipher:

                          openssl 3

                          I guess it is related to openssl 3.

                          -Roei

                          johnpozJ 1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator @braunerroei
                            last edited by

                            @braunerroei said in Haproxy Reverse proxy to old machine with old cipher:

                            I guess it is related to openssl 3.

                            Not on pfsense it isn't - because when you access it direct and your seeing this error.. Pfsense isn't involved at all.. Maybe if you updated openssl on this device that is hosting your service?

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                            1 Reply Last reply Reply Quote 0
                            • B
                              braunerroei @johnpoz
                              last edited by braunerroei

                              @johnpoz

                              I know, that direct access has nothing to do with pfSense.

                              I just sent the error code, in order to understand the issue, whilr direct access.

                              The device is multitech fax finder FF130, I don't think I can update the openssl.

                              -Roei

                              johnpozJ NightlySharkN 3 Replies Last reply Reply Quote 0
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator @braunerroei
                                last edited by johnpoz

                                @braunerroei if direct access isn't working why would you think it should work through haproxy?

                                Like saying my car wont start when I sit in and turn the key.. But there is something wrong with my remote start because that isn't working ;)

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.8, 24.11

                                NightlySharkN 1 Reply Last reply Reply Quote 0
                                • NightlySharkN
                                  NightlyShark @braunerroei
                                  last edited by

                                  @braunerroei Wait, you were not performing SSL offloading? ... You had HAProxy in TCP mode? ... Then ... the cert you configure for HAProxy via ACME does nothing... Like it doesn't exist

                                  B 1 Reply Last reply Reply Quote 0
                                  • NightlySharkN
                                    NightlyShark @johnpoz
                                    last edited by

                                    @johnpoz Still won't let me upvote you further... Damn rules...

                                    1 Reply Last reply Reply Quote 0
                                    • NightlySharkN
                                      NightlyShark @braunerroei
                                      last edited by

                                      @braunerroei Can you disable SSL on the machine and put it behind HAProxy in SSL offloading mode?

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        braunerroei @NightlyShark
                                        last edited by

                                        @NightlyShark

                                        It's hpps offloading...

                                        johnpozJ 1 Reply Last reply Reply Quote 0
                                        • johnpozJ
                                          johnpoz LAYER 8 Global Moderator @braunerroei
                                          last edited by

                                          @braunerroei said in Haproxy Reverse proxy to old machine with old cipher:

                                          It's hpps offloading...

                                          What he means by that is just let haproxy handle the ssl, and make the connection via just http to the service behind.. Not both doing ssl.

                                          As I stated before and asked for clarification on from you..

                                          offload.jpg

                                          I let haproxy handle the ssl with the client, and it just talks to the backend via normal http. NO ssl..

                                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                                          If you get confused: Listen to the Music Play
                                          Please don't Chat/PM me for help, unless mod related
                                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            braunerroei @johnpoz
                                            last edited by

                                            @johnpoz
                                            front.png

                                            back.png

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