Security

 View Only
Expand all | Collapse all

Captive portal is not working in Apple iphones.

This thread has been viewed 60 times
  • 1.  Captive portal is not working in Apple iphones.

    Posted Oct 15, 2024 01:49 AM

    We have an Aruba IAP cluster with a captive portal set up in ClearPass. On the self-registration page, users can log in using an access code, and this works as expected on Android devices. However, on iPhones, after entering the code, users are stuck in a loop and are repeatedly prompted to enter the code again. Has anyone encountered this issue?



  • 2.  RE: Captive portal is not working in Apple iphones.

    Posted Oct 15, 2024 02:54 AM

    Hi

    Does the iPhone user get an Accept on the authentication request in Access Tracker. Can you share both a successful authentication from an Android and the result from an iPhone?

    Also share the configuration of your Service with role mapping and enforcement policies.

    If you check the Aruba role in IAP after the authentication of both Android and iPhone can you spot any difference?

    Normally the user should be in a logon role before the authentication and another after successful authentication.

    In the page you have this option:

    Try to enable it to force the iPhone to open a normal web browser instead, and see if this have makes any improvements.



    ------------------------------
    Best Regards
    Jonas Hammarbäck
    MVP Guru 2024, ACEX, ACDX #1600, ACCX #1335, ACX-Network Security, Aruba SME, ACMP, ACSA
    Aranya AB
    If you find my answer useful, consider giving kudos and/or mark as solution
    ------------------------------



  • 3.  RE: Captive portal is not working in Apple iphones.

    Posted Oct 16, 2024 03:50 AM
    What version of iOS is the phone running ?
    Latest version has rotating MAC addresses on by default
    Also, looking in endpoints for iOS NAC address what attributes are present ?
    Sent from my iPhone




  • 4.  RE: Captive portal is not working in Apple iphones.

    Posted Oct 16, 2024 02:58 PM

    We're only seeing the initial MAC auth reject request in the access tracker, and there's no difference in user roles. I've tried enabling the "Enable bypassing the Apple" option, but it's not working.

    I've tried different iPhone IOS version devices, but it's still not working. However, it does work with Apple iPads and Macs.

    4o mini




  • 5.  RE: Captive portal is not working in Apple iphones.

    Posted Oct 17, 2024 01:54 AM
      |   view attached

    I had a similiar situation, where iPhones and iPads stopped working. What worked for me: in the Guest module under NAS Vendor Settings: I changed the default value "Secure Login: Use vendor default" to "Secure Login: Secure login using HTTPS"




  • 6.  RE: Captive portal is not working in Apple iphones.

    Posted Oct 17, 2024 04:17 AM
    Edited by Herman Robers Oct 17, 2024 07:25 AM

    You have an IP address in the Address field (4th field in the screenshot). That should be the FQDN for the certificate which is installed on the IAP/AP/Controller, and that certificate should be publicly trusted. Please read the explanation in blue that indicates to put an FQDN here; and device at the end of the sentence refers to the AP/IAP/Controller.

    Many browsers will refuse to send login credentials to a location that is insecure, like an IP address or non-trusted location, resulting in such a 'loop' condition.

    It may even be that phones with cellular connection try to use the cellular instead of the WLAN, which doesn't work; but you could test that by putting the phone in flight-mode, then try to connect. In either case, having certificates in place is critical to make this work.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 7.  RE: Captive portal is not working in Apple iphones.

    Posted Oct 17, 2024 05:12 AM

    We had a similar problem with the iPhones. WIndows and Android worked, but iPhone did not. Inpacket-capture we saw that iPhones were using the wrong DNS server.  For some reason, they were not using the private DNS server assigned by DHCP, but a public one. As a result, the FQDN from the HTTP forwarding could not be resolved.

    We solved it by redirecting the client DNS traffic to the private DNS server in the guest-logon role in an ACL.



    ------------------------------
    Regards,

    Waldemar
    ACCX # 1377, ACEP, ACX - Network Security
    If you find my answer useful, consider giving kudos and/or mark as solution
    ------------------------------



  • 8.  RE: Captive portal is not working in Apple iphones.

    Posted Oct 22, 2024 11:06 PM
      |   view attached

    Hi @Herman Robers , I have question here , For instance, on the self-registration page, we've specified guest.example.com in ClearPass. We need to install a captive portal certificate with CN = guest.example.com, which should be a publicly signed certificate. 

    What DNS IP should guest.example.com resolve to?

    Is this certificate used for  communication between ClearPass and the IAP ??

    We are using Aruba IAP Virtual controllers in each location 




  • 9.  RE: Captive portal is not working in Apple iphones.

    Posted Oct 22, 2024 11:13 PM

    Correct.

    Nothing.

    No, the only communication between the IAP and ClearPass is RADIUS.



    ------------------------------
    Carson Hulcher, ACEX#110
    ------------------------------



  • 10.  RE: Captive portal is not working in Apple iphones.

    Posted Oct 22, 2024 11:18 PM

    Ignore the gateway portion in the middle, this is meant to illustrate a tunneled WLAN using captive portal in AOS 10, but the client/AP/captive portal interactions are all basically the same.



    ------------------------------
    Carson Hulcher, ACEX#110
    ------------------------------



  • 11.  RE: Captive portal is not working in Apple iphones.

    Posted Oct 23, 2024 02:35 AM

    In addition to chulcher's response, here is a video that shows the same diagram but in video. Take the controller initiated workflow in that case.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------