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

Captive Portal "Cannot Verify Server Identity" on non https

Scheduled Pinned Locked Moved Captive Portal
5 Posts 2 Posters 3.6k 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.
  • L
    Lectrician
    last edited by Sep 6, 2016, 7:45 PM

    I do not use a https captive portal page, just http.

    Recently, users are saying their iphones/ipads are prompting the "Cannot Verify Server Identity" popup, with Cancel, Details, Continue.

    I have a couple sites with PFsense, but so far just one reporting this.

    Any ideas?

    Thanks :-)

    1 Reply Last reply Reply Quote 0
    • G
      Gertjan
      last edited by Sep 8, 2016, 7:33 AM

      Hi,

      It seems to me to that this is not a pfSense issue.

      Throw "Cannot Verify Server Identity" into Google and check out the first several links.
      You discover that :
      It really looks like it's iOS 8 related …... (which isn't being used any more ..... so does this concern old "I" devices ?)
      It has to do with certificates that the iDevice can not check - certificate to old - not valid - .... etc. The certificate authority went south ?
      Other reason why the device couldn't contact the CA if needed ?
      Also : the "device OS", like any basic navigator on a PC, contains a list with world wide known main CA's. Their 'derived' certificates are trusted.
      I f a certificate didn't match it's URL, is expired, or being withdrawn, or whatever, well, the error pops up. And that's normal. It happens a lot btw... even very big  companies manage to keep and old (expired) certificate on their site ..... From that point, it will 'rain' errors all over the world.
      This means that all works as it should be - except for the guy that manages the site ^^

      When a visitor authenticated against the CP, it - the CP - becomes completely transparent, like any other router that handles ALL your traffic.
      But : I presume that you DO NOT use the CP firewall to block certain CA's  on the net. When I start to block all the IP's from the CA Verisign (example, may exists), well, then my iPhone (and all devices for that matter) start to pop these message ( "Cannot Verify Server Identity" ) all over the place.

      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
      • L
        Lectrician
        last edited by Sep 8, 2016, 8:17 PM

        Thanks.

        There are three sites. Three pfsense firewalls, all using a simple captive portal.

        The users reporting this all have iphone6's, and they only see it at one of the three sites.  iPhone 5's don't seem to be affected, all being on the latest iOS.

        I need to get a screen shot from one of the users from the "details" page before they accept the warning.

        The CP doesn't have a cert, and is not https.  Are you saying that the warning may be generated anyway?  Or is it because the user is trying to access a https site before the CP is triggered?

        1 Reply Last reply Reply Quote 0
        • G
          Gertjan
          last edited by Sep 9, 2016, 7:54 AM

          Read https://forum.pfsense.org/index.php?topic=116386.msg645311#msg645311 to see how things should work.

          I didn't saw a different behavior among several iPhone versions (4S, 5, 5S, 6, 6Plus several iPad, etc - all running the latest version - 9.3.5 - with default network settings).

          As soon as a Apple device user accepts a Wifi network, it should receive a popup navigator. They can authentify.
          After that, only your portal's GUI firewall determines what goes through.

          Also, check what is en between "pfsense" and "Internet".

          Ones connected, the pfSense 'portal' isn't any different as the free portal access at McDonalds … (depends what you put in the firewall)

          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
          • L
            Lectrician
            last edited by Sep 11, 2016, 8:21 AM Sep 11, 2016, 8:15 AM

            OK.

            I think what must be happening is the user is not selecting the WiFi network on their iphone.  It is automatically connecting to the WiFi itself, as it remembers it, but doesn't pop the automatic captive portal browser using the http://captiveportal.apple.com, as the user isn't actively using their phone.  The user then opens a browser to do something, visiting a https page, causing the error?

            If the user connected to a http page, the portal would work correctly.

            I need to have a play to try to replicate the error, just seems odd that every user to report the problem has been using an iphone 6.

            IMG_0652.PNG
            IMG_0652.PNG_thumb

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