]> WPIA git - gigi.git/blob - keys/generateTruststore.sh
[UPDATE-CONFIG] Move the generated keys to a more resonable location.
[gigi.git] / keys / generateTruststore.sh
1 #!/bin/sh
2 # this script imports the cacert root certs
3
4 #wget -N http://www.cacert.org/certs/root.crt
5 #wget -N http://www.cacert.org/certs/class3.crt
6
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
10
11 keytool -list -keystore ../config/cacerts.jks -storepass "changeit"