11 lines
369 B
Bash
11 lines
369 B
Bash
|
#/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
|