User Redirection issue in HTTPS login page
HSNM Front-end Welcome Portal general discussion about HTML, CSS, layout, custom apps, templates

Rate this topic
   Post Reply
8 posts   •   Page 1 of 1
humzakhan
Posts: 70
Joined: 06 Jun 2018, 12:22

User Redirection issue in HTTPS login page

by humzakhan » 14 Jan 2020, 06:25

Hello Team,

i) When using https in login page, it redirects to page showing "connect to wifi" (image 1), and when clicked on connect it redirects to blank page with URL gstatic.com (image 2) and no login happens. It must directly have to redirect to login page instead of "connect to wifi" page.
ii) If any https website is already opened in the browser previously and login page is in http, it do not redirect to the login page.
iii) In Mikrotik type gateway, SSL certificate is imported but it still shows warning message before opening login page. It might be due to mikrotik limitation they mentioned on their website (image ssl_mikrotik). Anything can be done in it to avoid warning?
You do not have the required permissions to view the files attached to this post.

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: User Redirection issue in HTTPS login page

by HSNMSupport » 14 Jan 2020, 17:15

Hi Humza
Mikrotik cannot redirect the user to a captive portal if the user try to load an HTTPS sites, so only HTTP sites are redirected to an external captive portal.
By the way, if you load a right SSL certificate inside the Mikrotik GW, and you set the right DNS name, you should not have any SSL warning
MikrotikCertificate.jpg
Best regards
You do not have the required permissions to view the files attached to this post.

humzakhan
Posts: 70
Joined: 06 Jun 2018, 12:22

Re: User Redirection issue in HTTPS login page

by humzakhan » 20 Jan 2020, 08:46

Hi Team,
Please check settings are same but still showing warning.
You do not have the required permissions to view the files attached to this post.

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: User Redirection issue in HTTPS login page

by HSNMSupport » 20 Jan 2020, 16:40

Hi Humza
This is the problem!!!! On DNS name you don't have to put the same FQDN used on HSNM!!!
Please read carefully this topic on our forum viewtopic.php?f=11&t=3985&p=4643&hilit=https#p4643

Best regards

humzakhan
Posts: 70
Joined: 06 Jun 2018, 12:22

Re: User Redirection issue in HTTPS login page

by humzakhan » 21 Jan 2020, 09:38

Now the https redirecting problem seems to be solved but when clicking "Connect" it redirects to "http://www.gstatic.com/generate_204" and keep stuck there. No welcome page open. Please refer the images.
You do not have the required permissions to view the files attached to this post.

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: User Redirection issue in HTTPS login page

by HSNMSupport » 21 Jan 2020, 11:05

Hi Humza
That URL is one of the URL used by Android Phone to decide if use CNA or not.
Anyway I think you were trying to load an HTTPS site (youtube) and so remember that Mikrotik hotspot service doesn't redirect user if you use HTTPS site. Please try with an HTTP site instead of HTTPS site.

We have a lot of customers that are using HTTPS on their Mikrotik GW and also on HSNM Welcome Portal without any issue

Best regards

humzakhan
Posts: 70
Joined: 06 Jun 2018, 12:22

Re: User Redirection issue in HTTPS login page

by humzakhan » 21 Jan 2020, 11:12

The same (android) URL is opening when using on laptop. Yes it is https site and we have valid ssl certificate on mikrotik gateway, it should redirect to welcome page.

HSNMSupport
Posts: 1553
Joined: 26 Jul 2016, 09:16

Re: User Redirection issue in HTTPS login page

by HSNMSupport » 21 Jan 2020, 11:34

Hi Humzan
Probably you don't understand me....please try to open, as "first" site, an HTTP site not an HTTPS site. Anyway if from laptop you can open it, means that is not a problem related to your GW or HSNM.

Best regards

Rate this topic

Who is online

Users browsing this forum: No registered users and 5 guests

It is currently 03 Dec 2024, 18:45