1
1
Fork 0
scripts/import_cacert_ubuntu.sh

15 lines
512 B
Bash
Raw Normal View History

2011-01-31 16:08:31 +01:00
#!/bin/bash
## import cacert root certificate (imports to system, works for chromium)
sudo apt-get install libnss3-tools wget
2011-01-31 16:08:31 +01:00
wget -O cacert-root.crt "http://www.cacert.org/certs/root.crt"
wget -O cacert-class3.crt "http://www.cacert.org/certs/class3.crt"
certutil -d sql:$HOME/.pki/nssdb -A -t TC -n "CAcert.org" -i cacert-root.crt
certutil -d sql:$HOME/.pki/nssdb -A -t TC -n "CAcert.org Class 3" -i cacert-class3.crt
2011-06-27 02:12:54 +02:00
rm cacert-root.crt
rm cacert-class3.crt
2011-01-31 16:08:31 +01:00
# source: http://wiki.cacert.org/BrowserClients