English Forums > General Discussion

Problems with redirect when link is HTTPS

(1/1)

thiago:
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.

hbc:
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

thiago:
Thank you Mr. HBC.

Your sugestion the URL for send with DHCP it's ok.

Very good.

Navigation

[0] Message Index

Go to full version