Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect HTTPS traffic to the captive portal #4

Open
humitos opened this issue Oct 10, 2015 · 5 comments
Open

Redirect HTTPS traffic to the captive portal #4

humitos opened this issue Oct 10, 2015 · 5 comments

Comments

@humitos
Copy link
Owner

humitos commented Oct 10, 2015

When you hit a HTTPS webpage for the first time, it's not redirected to the captive portal. We need to do this because the user won't know what is going on.

So, we need to create a certificate for that, accept the request on nginx and return a redirect to the portal.

The certificate won't be valid, so, the user will have to accept this. Is there another way to do this? Something like "converting the https request into an http"?

@humitos
Copy link
Owner Author

humitos commented Oct 23, 2015

https://letsencrypt.org/

@gamba47
Copy link

gamba47 commented Oct 25, 2015

The whole definition of "captive portal" revolves around "redirecting the user without his/her knowledge", which is exactly one of the things SSL was created to avoid.

I think there is no way to solve this problem. Maybe using DNS. I'm reading about this.

cheers.
Emiliano - gamba47

@humitos
Copy link
Owner Author

humitos commented Oct 25, 2015

Yeah, I understand, but how we can do to reditect users to the portal when they write facebook.com, for example?

Today, it does nothing. It keeps trying a nothing happens until it reaches timeout. Thats annoying.

@gamba47
Copy link

gamba47 commented Oct 25, 2015

It's true and looks like there is no way to solve yet. You can't redirect https to http at this moment.
I'm reading about this but looks like all in the same :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants