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

    Login does not open captive portal when browser uses https site

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    3 Posts 3 Posters 1.2k 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.
    • rodrigoinfocasper.com.brR
      rodrigoinfocasper.com.br
      last edited by

      login does not open captive portal when browser uses https site

      Good Morning,

      I'm trying to use the captive portal, and it falls into the next.

      Notebook plugs into the network, the user opens browser.

      If you are looking for a website http> the captive redirect to a login screen.

      If you are looking for a website, please click here.

      Do you have any suggestions on how I outline this little problem.

      Tks,
      Rodrigo

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        For that to have any chance of working, you need to enable https in the captive portal as well. Preferably using a proper hostname with a real/valid certificate so clients can load the portal page over https without any browser warnings.

        Chrome will see that certificate and realize it doesn't match the real site and then open the portal login page.

        Firefox has its own portal detection that should work either way but requires the user to press a button to view the login page.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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

          https://forum.pfsense.org/index.php?topic=122999.0

          Did you enable https in your captive portal - if so then your browser would throw you an error like below..

          You would think users understand this problem already ;)  Per the thread many OSes understand captive portals and when you connect via wireless they would direct you to the portal page via http url they try and go to in the background, etc.

          edit: ah jimp beat me too it ;)

          httpscaptiveportal.png
          httpscaptiveportal.png_thumb

          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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.