3 years, 1 month ago pulkitKeymaster
I would like to redirect https request to captive portal when a guest come in my hotel network and when their Bandwidth policy or assigned time limit is over.
Actually only the http port(80) is redirected to captive portal: http://login.wijungle.com
Thank you for your answer
Captive portals essentially act as a man-in-the-middle, redirecting client requests to a different site (their login page) which is exactly the beahvior HTTPS tries to prevent.
Thus, when you can connect to an HTTPS site from a captive portal without a warning and without having logged into the portal before, one of the following has happened:
1. The connection would fail(Secure connection failed) until you connect to a plain HTTP server, get redirected to the login page and log in
2. You would receive a warning about an invalid certificate: either the server name does not match, or because the certificate is not from a trusted CA. If you ignore this warning, you would get the login page.
3. Your OS or browser automatically detects that there is a captive portal, and either redirect you to the page or show “Sign In” notification as per their implementation
Android Captive Portal Detection
Apple iPhone, iPad with iOS 6 Captive Portal Detection
Apple iPhone, iPad with iOS 7, 8, 9 and recent versions of OS X
You must be logged in to reply to this topic.