Skip to content

Instantly share code, notes, and snippets.

@rgerganov
Last active March 14, 2023 06:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rgerganov/2c2bfce9a469cae66efb324d4c699138 to your computer and use it in GitHub Desktop.
Save rgerganov/2c2bfce9a469cae66efb324d4c699138 to your computer and use it in GitHub Desktop.
Create NSS db for Firefox/Chrome/LibreOffice
# build and install libccid from source
# do not install opensc from packages, build it from source
sudo apt-get install libnss3-tools
cd $HOME
mkdir -p .pki/nssdb
modutil -dbdir sql:.pki/nssdb -add "stampit" -libfile /usr/local/lib/opensc-pkcs11.so
modutil -dbdir .pki/nssdb -add "stampit" -libfile /usr/local/lib/opensc-pkcs11.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment