Last active
May 18, 2018 00:35
-
-
Save wheelerlaw/5907719a8e6dca27547039329efb33c2 to your computer and use it in GitHub Desktop.
Allow NSS applications to read the system certificate store
This file contains 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
#!/usr/bin/env bash | |
find / -type f -name "libnssckbi.so" 2>/dev/null | while read line; do | |
sudo mv $line ${line}.bak | |
sudo ln -s /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so $line | |
done | |
sudo mount --bind -o nodev,ro /etc/ssl/certs /snap/core/current/etc/ssl/certs/ | |
sudo mount --bind -o nodev,ro /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-trust.so /snap/firefox/85/libnssckbi.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment