Wireless Access

Reply
mom
Occasional Contributor II
Posts: 12
Registered: ‎03-07-2016

Custom Captive Portal - no login possible

Hello!

 

I've uploaded a custom Captive Portal Page to a aruba 7030 controller as described in this appendix:

Reason - the built in CP Page dont scale (mobile devices)....

 

Now i stuck on an login issue.
If i enter the username and password, nothing happens, the CP loads again.
No error messages in the box above the user box, the user dont get authenticated.

The built in pages are working properly.


The issue exists even if i copy the whole code of an built in CP page into a custom page.
All links and sources of the page are available.

 

Does anybody knows this issue?

 

Regards!

Best regards
Matthias
Guru Elite
Posts: 21,489
Registered: ‎03-29-2007

Re: Custom Captive Portal - no login possible

There are quite a few ways that you could have broken it, from controller configuration to HTML.  Where do you want to start?



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

mom
Occasional Contributor II
Posts: 12
Registered: ‎03-07-2016

Re: Custom Captive Portal - no login possible

Because of the fact that the html code from the built in site is not working as custom upload, i would say at the controller configuration.

I loadet up the Captive Portal page (top level) and the content (background).
Then i changed the path to the custom page in the L3 authentication captive portal profile.

 

Im at work on tuesday again, than i can post more details from the configuration if needet.

 

Thank you!

Regards

Best regards
Matthias
mom
Occasional Contributor II
Posts: 12
Registered: ‎03-07-2016

Re: Custom Captive Portal - no login possible

Hello!

 

This topic solved my issue:

http://community.arubanetworks.com/t5/Security/Stuck-at-Captive-Portal-Login/m-p/251846

 

My problem was that i copied the default html code.
If the default code is used in a custom Captive Portal, the form has to be changed:

 

Default:

<form action="login" id="regform" method="post" autocomplete="off" title="Form used by registered users to login">

Custom:

<FORM method="post" autocomplete="off" ACTION="/auth/index.html/u">

 After updating this line, it worked perfectly.

 

 

 

 

 

Best regards
Matthias
Occasional Contributor II
Posts: 19
Registered: ‎02-24-2017

Re: Custom Captive Portal - no login possible

You can leave everything as it is, you just need to change action="login" to

ACTION="/auth/index.html/u"

for it to work. This is where login data will be sent to. 

mom
Occasional Contributor II
Posts: 12
Registered: ‎03-07-2016

Re: Custom Captive Portal - no login possible

Thank you!
Yea, i was able to resolve it with this line...

 

 

Best regards
Matthias
Guru Elite
Posts: 8,759
Registered: ‎09-08-2010

Re: Custom Captive Portal - no login possible

You also need to have a valid public CA-signed captive portal certificate.

Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
mom
Occasional Contributor II
Posts: 12
Registered: ‎03-07-2016

Re: Custom Captive Portal - no login possible

[ Edited ]

Hi Tim!

 

I set the Captive Portal to use HTTP.
Apple CNA and other browsers pops up without a certificate warning.
Could there be a problem to use CP with HTTP without an public certificate?


At the moment i see no reason to use CP with HTTPS.

 

 

Best regards
Matthias
Guru Elite
Posts: 8,759
Registered: ‎09-08-2010

Re: Custom Captive Portal - no login possible

CNA will not pop via HTTPS without a valid certificate. The only time HTTP should be used is with click-to-accept workflows or informational redirects.

Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
mom
Occasional Contributor II
Posts: 12
Registered: ‎03-07-2016

Re: Custom Captive Portal - no login possible

[ Edited ]

Hi!

 

OK, thats right.
We just need get an certificate, than we can use HTTPS.

 

Thank you!

 

 

Best regards
Matthias
Search Airheads
Showing results for 
Search instead for 
Did you mean: