2 # this script imports the cacert root certs
4 #wget -N http://www.cacert.org/certs/root.crt
5 #wget -N http://www.cacert.org/certs/class3.crt
7 #keytool -importcert -keystore ../config/cacerts.jks -file root.crt -alias root -storepass "changeit" $1
8 #keytool -importcert -keystore ../config/cacerts.jks -file class3.crt -alias class3 -storepass "changeit" $1
9 keytool -importcert -keystore ../config/cacerts.jks -file testca.crt -alias own -storepass "changeit" $1
11 keytool -list -keystore ../config/cacerts.jks -storepass "changeit"