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

HTTPS New User Drop-Out

Scheduled Pinned Locked Moved Captive Portal
4 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.
  • N
    nespevik
    last edited by Jul 21, 2012, 6:40 AM

    Hi All-

    I'm very new to all of this, but I was able to get pfSense and the captive portal feature working (the main reason I found pfSense). Everything is just about perfect for what I need, however upon testing it I noticed one issue. When a user first enters a web address using https (for instance, https://google.com as opposed to http://google.com) they don't get redirected to the captive portal page. Instead, the page just times out. Regular http requests go through just fine.

    Also, once they are authorized, any further https websites then work. I'm not sure if this is a bug or an issue with how I set things up.

    Thanks in advance!

    1 Reply Last reply Reply Quote 0
    • D
      dhatz
      last edited by Jul 21, 2012, 2:49 PM

      There is no clean way to do transparent redirection of https (unless you have full control over the client's PC and can load your own CA cert onto it; in which case you'd be effectively performing a MitM attack).

      The only way is to have people point their browser to any http address, so that the CP can redirect them to its auth page …

      This limitation applies to all captive portal implementation that do web authentication.

      1 Reply Last reply Reply Quote 0
      • B
        benichou
        last edited by Nov 15, 2012, 9:45 AM

        Hello,

        I do not understand why it is impossible to perform an unconditional redirection to the login page when the user is not authenticated and it requires a https site. Transparent redirection is not a requirement for me.
        Could you help me understand this problem?

        Regards.

        1 Reply Last reply Reply Quote 0
        • D
          dhatz
          last edited by Nov 15, 2012, 4:53 PM Nov 15, 2012, 4:50 PM

          The OP refers to a situation where the new CP user tries to initally load an https URL (for instance, https://google.com as opposed to http://google.com)

          You could redirect his initial connection to e.g. https://google.com to your own https server ("impersonating" google.com in order to further redirect him to your CP login page) but unless the user's browser has loaded your CAcert, it would result into various scary-looking warnings by his browser about "problems with the security certificate" recommending to him to close the page.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received