Smart Cards in Linux using Brave



### Smart Cards in Linux using Brave

1. 1st follow steps in this 👉 Firefox setup post.

2. Make sure NSS Tools are installed

<br>sudo apt-get install libnss3-tools<br>

3. Add Smart Card Module

- Make sure to close Chrome & you are in home directory before next command(s)

- To use opensc module type: (this one gives more certificate options)

<br>modutil -dbdir sql:.pki/nssdb/ -add "opensc Smart Module" -libfile /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so<br><br>

- For coolkey module type:
(currently not working)

<br>modutil -dbdir sql:.pki/nssdb/ -add "coolkey Smart Module" -libfile /usr/lib/pkcs11/libcoolkeypk11.so<br>

4. Add PKI certificates
-Go to the dot menu and:
- Settings
- ->Privacy and security
- ->More
- ->Manage Certificates
- ->Import

- Browse to folder with PKI certificates and select the chain.pem file

5. To list installed modules on Brave

<br>modutil -dbdir sql:.pki/nssdb/ -list<br><br>

6. To delete a module from Brave, use module name in step 5.
- if your module name is "Smart Module"

<br>modutil -dbdir sql:.pki/nssdb/ -delete "Smart Module"<br>

⚡️ [Follow](Freedom Tech) | 🗣 Discuss

#SmartCards #Linux #BraveBrowser #Chrome #FreeYourTech