You are not logged in.

#1 2026-06-06 08:44:48

thetacola
Member
Registered: 2026-06-06
Posts: 1

How do I convince Firefox to ignore HSTS on ping.archlinux.org?

Often, when I connect to a WiFi network, it has some page that I need to agree to terms and conditions before having internet access. On KDE Plasma, there is a notification in the bottom right that says the WiFi network needs to be logged into, and a button labeled "Log In". When I click this, it opens Firefox to https://ping.archlinux.org/nm-check.txt. However, that domain has HSTS enabled, so it doesn't take me to the login page. What I end up having to do is go to my own website, which does not have this, which then allows me to see the login page. I understand that HSTS is meant to prevent man-in-the-middle attacks, though its use on this domain in particular seems rather counter-intuitive, as WiFi login pages are essentially just a (usually) not-so-malicious man-in-the-middle attack. There doesn't seem to be any option to ignore it in Firefox that I've found, so I'm thinking I would need to edit some file to make it appear to Firefox that I've never visited ping.archlinux.org, then make a cron job that makes that edit every 5 minutes or so. What would the best way of getting around this be?

Offline

#2 2026-06-06 08:52:43

dasrubbellos
Member
Registered: 2026-06-06
Posts: 5

Re: How do I convince Firefox to ignore HSTS on ping.archlinux.org?

Edit the [connectivity] block in /etc/NetworkManager/NetworkManager.conf to use a different Target like http://nmcheck.gnome.org/ or https://nmcheck.gnome.org/ or setup your own on a webserver. Everything is described here: https://networkmanager.pages.freedeskto … .conf.html

Offline

#3 2026-06-06 17:20:21

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,534
Website

Re: How do I convince Firefox to ignore HSTS on ping.archlinux.org?

Offline

Board footer

Powered by FluxBB