How to setup captive portal with https?



  • Hi is there anyone who can give me a clear explaination on how to setup the captive portal to work with https.
    And as a starting point you have captive protal work ok without https, and you have a working gateway

    My setup is as follows.

    1 internet gateway ( public ip )
    2  NIC's one on 192.168.100.10 as an extra gateway on the LAN for testing purposes the other one on 10.10.10.1 which is connected to a wifi accespoint and dhcp is activated so clients get ip and settings in the right way.
    Wifi is open so customers can connect in a easy way, then get a username and password.
    On captive portal on http when connected to wifi, you can see username and password when logging in in plain text, because it acts as a hub… and we don't want this so we need https to be setup.

    I checked a lot of tutorials and settings but I can't get it to work.
    Don't see response from port 8001 on 10.10.10.1 either when I telnet to it, why?

    Got a certificate setup and activated, with some instructions from the forum.
    Regarding the CN which you need to ( how do you determine the CN ? is it like 10.10.10.1 ? pfsense.local like setup in the hostname of the machine, or do I realy need to create a A record like pfsense.domain.com to 10.10.10.1

    I don't get any responce a all on the 8001 port, maybe this is the problem? but where does it go wrong?

    Hope someone could point me in the right direction.


Log in to reply