mirror of
https://github.com/Inndy/twnhi-smartcard-agent.git
synced 2025-07-17 20:53:22 +00:00
15 lines
351 B
Bash
Executable File
15 lines
351 B
Bash
Executable File
#!/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
|