Community discussions

MikroTik App
 
nurah
just joined
Topic Author
Posts: 2
Joined: Fri Jan 27, 2017 3:23 pm
Location: Turkey

Mikrotik Hotspot SSL Error ? What is Error Problem ?

Sun Feb 05, 2017 3:55 pm

hi friends im setup to hotspot on mikrotik board. But i cant setup ssl certifica for hotspot. pls help me

i record video

https://www.youtube.com/watch?v=EEd7G9L3wxE
 
p3rad0x
Long time Member
Long time Member
Posts: 637
Joined: Fri Sep 18, 2015 5:42 pm
Location: South Africa
Contact:

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Mon Feb 06, 2017 12:18 pm

Good day,

Why do you want to setup a SSL certificate on the hotspot?

using normal HTTP works fine for the ones I have setup
 
nurah
just joined
Topic Author
Posts: 2
Joined: Fri Jan 27, 2017 3:23 pm
Location: Turkey

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Mon Feb 06, 2017 3:20 pm

Https Not redirect to login page .
http not problem .

i want https redirect to my login page.
 
Miracle
Member Candidate
Member Candidate
Posts: 106
Joined: Fri Sep 11, 2015 9:04 am

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Mon Feb 06, 2017 3:30 pm

Https Not redirect to login page .
http not problem .

i want https redirect to my login page.
It's true!
You can not change that
 
andriys
Forum Guru
Forum Guru
Posts: 1527
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Mon Feb 06, 2017 3:30 pm

i want https redirect to my login page.
That's not going to be possible. HTTPS has specifically been design in a way to make (among other things) this kind of redirection impossible.

PS. I'm getting tired of people constantly asking the same question here again and again. Have you even tried to search over the forum before asking it yourself?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26368
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Mon Feb 06, 2017 3:32 pm

You don't need certificate for this. Certificate only is needed to make the login form more secure.
Redirection will work the same way. Even with http hotspot, login form should show automatically on any modern device.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26368
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Mon Feb 06, 2017 3:33 pm

Modern devices will check some predefined http sites in the background, and if they don't see the normal content, they will pop up your login page. Apple laptops and iPhones do this, Windows laptops do this. There is no need to redirect https
 
luizfef
just joined
Posts: 2
Joined: Fri Aug 18, 2017 12:17 am

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Fri Aug 18, 2017 12:33 am

Hi Normis, so there are no way to solve this using Mikrotik Hotspot?

Many of my customers use https://google.com as first web page of them smartphone and when connected at Hotspot Wifi, only show error on browser, do not open the login screen.

Thanks
 
R1CH
Forum Guru
Forum Guru
Posts: 1101
Joined: Sun Oct 01, 2006 11:44 pm

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Fri Aug 18, 2017 5:14 pm

If you were able to intercept https requests, so could anyone else on the internet, rendering the security useless. If your clients aren't auto opening the login screen they must be very old devices as any modern smartphone detects captive portals and opens the browser automatically. You could consider blocking access to WAN-side https (port 443) until user has authenticated to avoid unsightly security errors, but this will just turn it into a connection error.
 
luizfef
just joined
Posts: 2
Joined: Fri Aug 18, 2017 12:17 am

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Fri Aug 18, 2017 8:04 pm

We tryied this but when block 443. The user connect to Hotspot Wifi, stay not showing the login screen. We really need some help here. We can pay for solve this. Anyone can help us?
 
R1CH
Forum Guru
Forum Guru
Posts: 1101
Joined: Sun Oct 01, 2006 11:44 pm

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Mon Aug 21, 2017 2:06 am

This is not something that can be fixed with money. HTTPS interception is impossible without installing root certs on customer devices.

If the login screen isn't opening when your clients connect, then either your captive portal is not intercepting the detection requests properly, or the client devices lack capability to detect hotspots.
 
User avatar
xaviernuma
newbie
Posts: 45
Joined: Tue Feb 16, 2016 11:27 am
Location: France

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Fri Oct 06, 2017 12:09 pm

Hello,

I have the same problem.

MacDonald's hotspots redirect a call to https://www.google.com/ to the authentication page without certicat error messages or the like.

I read that kind of hotspot, made a call in http as soon as it saw an https. For example: the hotspot test https://www.google.com, it detects a certificate problem, then it returns to the browser of the client http://www.google.fr, and there the page of the hotspot can open .

How to implement this on Mikrotik hotspots?
 
R1CH
Forum Guru
Forum Guru
Posts: 1101
Joined: Sun Oct 01, 2006 11:44 pm

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Fri Oct 06, 2017 12:25 pm

This is purely a client side detection. You cannot implement anything differently, it's entirely up to the client to detect the hotspot and redirect to the login page.

Modern versions of Chrome for desktop now detect this situation, in addition to Android doing it automatically.

https://security.stackexchange.com/ques ... itm-attack
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26368
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Mikrotik Hotspot SSL Error ? What is Error Problem ?

Fri Oct 06, 2017 12:27 pm

I will repeat my answer, since nobody seems to have read it.

Laptops and phones automatically detect presence of hotspot in the background, and a Hotspot login popup will appear. If this does not happen, check the cause of this first. Do you have any walled garden set up? You will not even get to your https://google.com link, the popup will appear before that!

Who is online

Users browsing this forum: K0NCTANT1N, nizce, tdw, uamma and 57 guests