10 lines
369 B
Bash
Executable file
10 lines
369 B
Bash
Executable file
#/usr/bin/env bash
|
|
#
|
|
certificateFile="./internal-ca.crt"
|
|
certificateName="Ökonzept internal CA"
|
|
for certDB in $(find ~/.mozilla* ~/.thunderbird -name "cert9.db")
|
|
do
|
|
certDir=$(dirname ${certDB});
|
|
echo "mozilla certificate" "install '${certificateName}' in ${certDir}"
|
|
certutil -A -n "${certificateName}" -t "TCu,Cuw,Tuw" -i ${certificateFile} -d ${certDir}
|
|
done
|