mirror of
https://github.com/Inndy/twnhi-smartcard-agent.git
synced 2025-07-18 05:03:21 +00:00
First public release
This commit is contained in:
14
certs/trust_ca_ubuntu_firefox.sh
Executable file
14
certs/trust_ca_ubuntu_firefox.sh
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -x "$(which certutil 2>&-)" ]
|
||||
then
|
||||
echo "[-] Install libnss3-tools first"
|
||||
fi
|
||||
|
||||
for f in ~/.mozilla/firefox/*.default*/cert9.db
|
||||
do
|
||||
echo --------------------------------------------------------------------------------
|
||||
echo $f
|
||||
certutil -d "${f%/*}" -A -i ca.crt -n 'Inndys NHI Smartcard Client' -t C
|
||||
certutil -d "${f%/*}" -L
|
||||
done
|
Reference in New Issue
Block a user