Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Problems with redirect when link is HTTPS
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problems with redirect when link is HTTPS (Read 2571 times)
thiago
Newbie
Posts: 3
Karma: 0
Problems with redirect when link is HTTPS
«
on:
September 19, 2019, 03:43:03 pm »
Good morning people,
I have a problem that captive portal only redirects to the authentication page when I try to access some http link, when it is an https link it does not redirect and the error.
I have read in some places that OPNSense has some limitations for running HTTPS redirection.
Any suggestion?
Thanks.
Logged
hbc
Hero Member
Posts: 501
Karma: 47
Re: Problems with redirect when link is HTTPS
«
Reply #1 on:
September 19, 2019, 09:08:02 pm »
HTTPS is generally a problem with captive portals, because the client requests a ssl secured webpage and you redirect to your portal with a certificate that will not match the expected webpage and you will get a ssl error.
Usually browsers and modern OSes request special HTTP URLs to detect captive portals.
You can also add special dhcp options to send the captive portal url to clients.
https://tools.ietf.org/html/rfc7710
Logged
Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz (24 cores)
256 GB RAM, 300GB RAID1, 3x4 10G Chelsio T540-CO-SR
thiago
Newbie
Posts: 3
Karma: 0
Re: Problems with redirect when link is HTTPS
«
Reply #2 on:
September 26, 2019, 03:19:34 pm »
Thank you Mr. HBC.
Your sugestion the URL for send with DHCP it's ok.
Very good.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Problems with redirect when link is HTTPS