Importing website certificates (e.g. NextDNS block screen) in Chromium

Flatpak: Chromium

When I follow the instructions at NextDNS to add a certificate in Linux for Chromium (see [How to install and trust NextDNS Root CA - How-To Guides - NextDNS Help Center]} the certifcate for websites is installed, but when I relaunch Chromium the certificate is lost.

So the obvious reason is that this is not stored permanently in Flatpak Chromium. What folder do I have to give Chromium running in Flatpak permanent write permission to keep this certificate installed?

Hi, I am pasting this as I had a similar problem on my steam deck and found the solution. Figured I’d share wherever I can for the next guy…

The directory you’re looking for is ~/.pki/nssdb

Found it in the public Chromium docs here: Chromium Docs - Linux Cert Management

The specific command I ran on my steam deck was as follows: sudo flatpak override --filesystem=/home/deck/.pki/nssdb