Digital Certificate Setup for qutebrowser
How to use Spanish government digital certificates in qutebrowser by importing them into the system NSS shared database.
Because qutebrowser relies on QtWebEngine (Chromium-backed) rather than Firefox's internal
NSS database, it looks for client certificates in the system-wide directory located at ~/.pki/nssdb/.
📂 EXPORT
To move a certificate out of LibreWolf:
● Navigate to Settings > Privacy & Security.
● Scroll down to Certificates and click View Certificates.
● Under the Your Certificates tab, select the target certificate and click Backup....
● Save the file (e.g., ~/Downloads/cert.p12) and secure it with a backup password.
📥 IMPORT
Initialize the shared NSS database and inject the PKCS#12 file using terminal utilities:
Ensure the directory exists and initialize it
mkdir -p ~/.pki/nssdb
certutil -N -d sql:$HOME/.pki/nssdb
Import the exported file
pk12util -i ~/Downloads/cert.p12 -d sql:$HOME/.pki/nssdb
When prompted, enter the password used to encrypt the certificate file during export.
Now when using Qutebrowser you can use the digital certificate and password to access any site that uses the system.
Posted
22:59 15 June 2026