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

    [Solved] Captive Portal https Problem (works with Http)

    Scheduled Pinned Locked Moved Captive Portal
    13 Posts 3 Posters 1.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.
    • O
      omarmohammed
      last edited by

      Hello, i have a problem regarding https. i get "The page isn't redirecting properly"

      Here is my configuration : Common name of Certificate : CapAdmins

      The name of the https server is CapAdmins

      interface VLAN10 address is 10.1.10.1.

      in the DNS, the entry is : CapAdmins with 10.1.10.1 and it is resolved by the client.
      Domain : Simulation.com
      the redirection works but its like it's stuck in a loop.

      With Http i got no problem.

      i use the latest version of pfsense : the one that was released three days ago (14 of may)

      1 Reply Last reply Reply Quote 0
      • O
        omarmohammed
        last edited by

        anybody ? is the entry in the dns the problem ?

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          Hi,

          A common name of one word ?
          Normally, it should be "CapAdmins.Simulation.com".

          At least, true (trusted) certificates should be "Simulation.com" and/or "CapAdmins.Simulation.com".

          I'm using a certificate from the ACME package. Just plain rocks.

          For the DNS, the Resolverw as activated by default, never touched it. I added a host override like
          portal brit-hotel-fumel.net 192.168.2.1
          where 192.168.2.1 is my captive portal NIC and portal..brit-hotel-fumel.net the common name of the cert (I own brit-hotel-fumel.net of course).

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • O
            omarmohammed
            last edited by

            here i changed to the followings :

            Cert commun name : CapAdmins.Simulation.com

            https Server name : CapAdmins.Simulation.com

            DNS resolution CapAdmins : 10.1.10.1 (the captive portal interface) with the domain : Simulation.com

            Still problem :/

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan
              last edited by

              When you connected your device to the captive portal interface, could you resolve :
              CapAdmins.Simulation.com ?
              It should return "10.1.10.1"

              And your cert contains "CapAdmins.Simulation.com" ?

              And what do you mean by "problems" ?
              Any portal and captive webs server logs ?

              You use the default captive portal login page, right ?

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • O
                omarmohammed
                last edited by

                yes the default web page.

                and yes for the certificate (name and also commun name)

                yes it resolves with 10.1.10.1 for the logs i'll get them right away for u

                Edit : The logs are for authentication i dont even get there i get "bad gateway" in microsoft edge, and "The page isn't redirecting properly" with firefox

                Edit 2 : I tried the host override thing like u nothing changed

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan
                  last edited by

                  No clues from me.
                  Witrhout further details, I'll go for a VLAN issue.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  1 Reply Last reply Reply Quote 0
                  • O
                    omarmohammed
                    last edited by

                    Thanks a lot i guess it might be related to that…

                    can u like test it ? if you have some time

                    1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan
                      last edited by

                      @omarmohammed:

                      …
                      can u like test it ? if you have some time

                      Well, I'm using the captive portal for the last 10 years or so.
                      I guess tests are over for me  ;)

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      1 Reply Last reply Reply Quote 0
                      • O
                        omarmohammed
                        last edited by

                        you mean its working with vlans ? the https redirection works correctly if the interface is a vlan interface in ur case ?

                        1 Reply Last reply Reply Quote 0
                        • GertjanG
                          Gertjan
                          last edited by

                          Never used vlan's.
                          Portal has a dedicated NIC.

                          No "help me" PM's please. Use the forum, the community will thank you.
                          Edit : and where are the logs ??

                          1 Reply Last reply Reply Quote 0
                          • DerelictD
                            Derelict LAYER 8 Netgate
                            last edited by

                            Captive portal doesn't care if it is on a VLAN interface.

                            Chattanooga, Tennessee, USA
                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

                            1 Reply Last reply Reply Quote 0
                            • O
                              omarmohammed
                              last edited by

                              solved : i have to not use cap letters

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