1
1
Fork 0

added import_cacert.sh

This commit is contained in:
David Starzengruber 2011-01-31 16:08:31 +01:00
parent 4d98dc2fbe
commit 2294262fba
1 changed files with 12 additions and 0 deletions

12
import_cacert.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
## import cacert root certificate (imports to system, works for chromium)
sudo apt-get install libnss3-tools
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
# source: http://wiki.cacert.org/BrowserClients