Programmatically Install Certificate into Mozilla
Here is an alternative way that doesn’t override the existing certificates: [bash fragment for linux systems] certificateFile=”MyCa.cert.pem” certificateName=”MyCA Name” for certDB in $(find ~/.mozilla* ~/.thunderbird -name “cert8.db”) do certDir=$(dirname ${certDB}); #log “mozilla certificate” “install ‘${certificateName}’ in ${certDir}” certutil -A -n “${certificateName}” -t “TCu,Cuw,Tuw” -i ${certificateFile} -d ${certDir} done You may find certutil in the libnss3-tools … Read more