Community discussions

MikroTik App
 
ferdytao
newbie
Topic Author
Posts: 29
Joined: Mon Sep 26, 2016 8:51 am

Hotspot HTTPS/Mac Cookie login problem

Sun Jun 20, 2021 7:26 pm

Hi everyone,
I need your help to solve a strange problem with my hotspot login. Since I configured a valid certificate and activate HTTPS login, clients need to authenticate every "keepalive timeout" expires even if I set authentications via HTTP-CHAP,HTTPS,Cookie,Mac cookie.

The only chance to prevent this is to set keepalive timout to 24h to be sure at least once every 24h client will be back to AP to connect.

How should I solve this?

Here is my config:
/ip hotspot profile
add dns-name=hotspot.taoapartments.it hotspot-address=10.5.50.1 http-cookie-lifetime=1w3d login-by=\
    http-chap,cookie,https,mac-cookie name=hs-clienti ssl-certificate=hotspot.taoapartments.it
/ip hotspot
add addresses-per-mac=unlimited disabled=no interface=vlan-clienti name=hotspot_clienti profile=hs-clienti
/ip hotspot user profile
set [ find default=yes ] mac-cookie-timeout=1w3d shared-users=unlimited
/ip hotspot user
add name=admin
add name=TaoApartments server=hotspot_clienti
add name=taoapartments server=hotspot_clienti
add name=Taoapartments server=hotspot_clienti
Thanks

Who is online

Users browsing this forum: baragoon, BinaryTB, Bing [Bot], raphaps, rplant and 67 guests