Wireless Access

last person joined: yesterday 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Captive Portal Login Address Issues

This thread has been viewed 6 times
  • 1.  Captive Portal Login Address Issues

    Posted Dec 19, 2013 11:53 PM
      |   view attached

    I recenty inherited managementt of a 3400 mobility controller in my new position here and promptly was hit with the  certificate error Nov. 21. In following the support document, i purchased a certificate, installed and the webUI is working great. The  captive portal however is not.

     

    If I preview a portal the portal works fine, no errors. However when a user tries to access the guest network, the address shown isn't the captive portal address. its as though the portal is spoofing the users intended page (see attached), thus throwing more certificate errors.


    Nothing has changed in the system except for installing the cert and telling the captive portal and webui to use it. I have poked around a bit and am wondering if I need to have the captive portal fqdn in the URL instead of the defauly "/upload/..." or if I need to check the box "show fqdn" in the captive portal profile.

     

    Any help is appreciated.


    #3400


  • 2.  RE: Captive Portal Login Address Issues

    EMPLOYEE
    Posted Dec 20, 2013 04:19 AM

    Try to go to a regular http page and see if you have the same issue.

     



  • 3.  RE: Captive Portal Login Address Issues

    Posted Dec 20, 2013 12:25 PM

    Is that as simple as "Use HTTP for authentication" on  the portal profile? Help mentioned "If you use this option, modify the captiveportal policy to allow HTTP traffic.", but not seeing this option anywhere. Thanks.



  • 4.  RE: Captive Portal Login Address Issues

    EMPLOYEE
    Posted Dec 20, 2013 12:42 PM

    @RAM Admin wrote:

    Is that as simple as "Use HTTP for authentication" on  the portal profile? Help mentioned "If you use this option, modify the captiveportal policy to allow HTTP traffic.", but not seeing this option anywhere. Thanks.


    No.  Have the user go to a page that is only http like www.nytimes.com and see if the user has the same issue.

     



  • 5.  RE: Captive Portal Login Address Issues

    Posted Dec 23, 2013 01:52 PM

    Thanks. When the user goes to a non-https site, it redirects to https properly without a certificate warning. Sorry for the delay in responding.



  • 6.  RE: Captive Portal Login Address Issues

    EMPLOYEE
    Posted Dec 23, 2013 07:54 PM

    Does the fqdn on the certificate resolve to the ip address of the captive portal unterface on the controller?



  • 7.  RE: Captive Portal Login Address Issues

    Posted Dec 23, 2013 11:59 PM

    Can you clarify the the CP interface? Would this be public facing or private facing? Currently the fqdn wifi.theram.com resolves to the public IP in the DNS. Our AP's span 36 locations across the US. If needed I can update the external DNS to point to internal IP.



  • 8.  RE: Captive Portal Login Address Issues

    EMPLOYEE
    Posted Dec 24, 2013 04:23 AM
    Does it match the IP address of the guest user interface on the controller (is it private or public?)?


  • 9.  RE: Captive Portal Login Address Issues

    Posted Dec 26, 2013 01:36 PM

    Currently it resolves to the public IP of the controller.



  • 10.  RE: Captive Portal Login Address Issues

    EMPLOYEE
    Posted Dec 26, 2013 01:38 PM

    On the controller, go to the commandline and type "show ip cp-redirect-address".  That will tell you what ip address on the controller the Captive Portal redirects to when users connect.  That should match the ip address that is resolved through the fqdn.  If this address does not match the fqdn address, that could be why you are getting a mismatch.

     



  • 11.  RE: Captive Portal Login Address Issues

    Posted Dec 26, 2013 01:49 PM

    You are correct, i am getting its private internal IP. Any way to change that redirect address internally, or since its easiest I can just update the DNS record.



  • 12.  RE: Captive Portal Login Address Issues

    EMPLOYEE
    Posted Dec 26, 2013 01:52 PM

    You can update the ip address by:

     

    config t
    ip cp-redirect-address <that public ip address>

     But...if your guest users are already reaching the internal address and the captive portal is working, you should update the DNS resolution and see if that fixes things first...

     

    If you change the ip cp-redirect-address and your users somehow cannot route to the public address, it will break the captive portal for all users.  It might be safer to try the DNS route first.

     

     



  • 13.  RE: Captive Portal Login Address Issues

    Posted Dec 26, 2013 01:53 PM

    Noted, and doing so. Thanks, will report back.



  • 14.  RE: Captive Portal Login Address Issues

    Posted Dec 27, 2013 04:42 PM

    Reports are still that the user is being presented with a certificate error. I will test changing the IP for the CP and report back. I believe there is a section for allowed sites to visit in the CP when un-authorized so I will make that destination allowed as well.



  • 15.  RE: Captive Portal Login Address Issues

    Posted Dec 27, 2013 05:08 PM

    Interesting, the walled garden on the CP won't let me add the domain or the IP to the whitelist. I keep getting:

     

    Unknown netdestination <ip/domain>



  • 16.  RE: Captive Portal Login Address Issues

    EMPLOYEE
    Posted Dec 27, 2013 06:17 PM

    @RAM Admin wrote:

    Interesting, the walled garden on the CP won't let me add the domain or the IP to the whitelist. I keep getting:

     

    Unknown netdestination <ip/domain>


    You marked this as solved...it isn't, is it?

     

    Okay.

     

    for the single controller, the ip cp-redirect-address is a private address, right?  If you get on your guest network and ping the fqdn on the certificate, does it resolve to that private address?

     

    You should not need to use the whitelist.  The whitelist is for external addresses that you want to permit access to prior to authentication.  The ip cp-redirect-address should be taken care of by the captive portal ACL, and would not need to be whitelisted.

     

    If you need this fixed sooner, rather than later, please open a support case in parallel so that they can get the detailed informatoin about your network that we cannot ask for here.

     



  • 17.  RE: Captive Portal Login Address Issues

    Posted Dec 27, 2013 08:20 PM

    It did resolve to the internal IP address after I changed the public DNS to point to the internal IP but clients were still getting certificate errors.

     

    It has not been resolved, that was me getting click happy on the reply button, removed.

     

    I went ahead and changed the config to use the external IP address. Added it to a permitted destination on the Access Control list and changed the FQDN to resolve to external. Also set all captive portals to use HTTP instead of HTTPS until the cert can be resolved.

     

    I have a test AP ready for any other tips to try to resolve this. Thank for the continued support.



  • 18.  RE: Captive Portal Login Address Issues

    EMPLOYEE
    Posted Dec 28, 2013 05:27 AM

    @RAM Admin wrote:

    It did resolve to the internal IP address after I changed the public DNS to point to the internal IP but clients were still getting certificate errors.

     

    It has not been resolved, that was me getting click happy on the reply button, removed.

     

    I went ahead and changed the config to use the external IP address. Added it to a permitted destination on the Access Control list and changed the FQDN to resolve to external. Also set all captive portals to use HTTP instead of HTTPS until the cert can be resolved.

     

    I have a test AP ready for any other tips to try to resolve this. Thank for the continued support.


    This will be difficult to figure out unless we have further technical details about your network.  There is also a limit to the technical questions that we can ask here due to privacy, but those questions are also crucial to solving your issue.  Again, please open a case with TAC if you have not already.

     

     



  • 19.  RE: Captive Portal Login Address Issues

    Posted Dec 30, 2013 03:58 AM

    Try other browsers (e.g Firefox) to see if you still see the issue or not.