Created
September 5, 2025 16:10
-
-
Save ba0f3/277a74ff32567336d8a14b8e1bceb41a to your computer and use it in GitHub Desktop.
add custom CA to browser for Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #install package, required for certutil | |
| apt install -y libnss3-tools | |
| # For Chromium, Firefox | |
| certutil -L -d dbm:$HOME/.pki/nssdb | |
| certutil -A -n "CA NAME" -t "TC,C,T" -i /path/to/ca.crt -d sql:$HOME/.pki/nssdb | |
| # For Vivaldi | |
| certutil -A -n "CA NAME" -t "TC,C,T" -i /path/to/ca.crt -d sql:$HOME/.config/vivaldi/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment