Navigation

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

    Login does not open captive portal when browser uses https site

    Off-Topic & Non-Support Discussion
    3
    3
    1085
    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.br
      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
      • jimp
        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
        • johnpoz
          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 ;)


          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
          2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.01

          1 Reply Last reply Reply Quote 0
          • First post
            Last post