Knowledge Base
Authentication is disabled (development mode).

Add root ca certificate to firefox trust store

Edit

add ca ca-certificates ca-trust cert certificate certificates certutil firefox mozilla root store trust

# Install deps
sudo apt install libnss3-tools

# Get trust database location
db=$(find "$HOME/snap/firefox/common/.mozilla/firefox/" -name cert9.db -printf "%h")

# Add cert
certutil -A -n "$name" -t CT -i "$ca_cert" -d "$db"

# Delete cert
if certutil -L -d "$db" | grep ^fra-flugplan; then
    certutil -D -n "fra-flugplan" -d "$db"
fi