Last active
November 27, 2019 07:09
-
-
Save sAws/f792d05f775a819ee77d09484f8e3ec6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
certificateFile="${HOME}/Downloads/staging-multihost.crt" | |
certificateName="*.ati.doc_autoimport" | |
for certDB in $(find ~/.mozilla* -name "cert*.db") | |
do | |
certDir=$(dirname ${certDB}); | |
#log "mozilla certificate" "install '${certificateName}' in ${certDir}" | |
certutil -A -n "${certificateName}" -t "TCu,Cuw,Tuw" -i ${certificateFile} -d ${certDir} | |
echo "${certDB}" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment