2 # this script imports the cacert root certs
4 rm -f ../config/cacerts.jks
6 #wget -N http://www.cacert.org/certs/root.crt
7 #wget -N http://www.cacert.org/certs/class3.crt
9 #keytool -importcert -keystore ../config/cacerts.jks -file root.crt -alias root -storepass "changeit" $1
10 #keytool -importcert -keystore ../config/cacerts.jks -file class3.crt -alias class3 -storepass "changeit" $1
13 keytool -importcert -keystore ../config/cacerts.jks -file "$1.crt" -alias own -storepass "changeit" -alias "$1" $2
20 keytool -list -keystore ../config/cacerts.jks -storepass "changeit"