added import_cacert.sh
This commit is contained in:
parent
4d98dc2fbe
commit
2294262fba
|
@ -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
|
Loading…
Reference in New Issue