X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=keys%2FgenerateTruststore.sh;fp=keys%2FgenerateTruststore.sh;h=7b1858a1e0a58f40c0df5f19f89039f44ef7bdd2;hp=0c5aedc2c2d575b8b5e2b501ffb6a928200dcbb0;hb=119ca50f4a86da82d68c12e6828b9f65e91e8006;hpb=5f5fe0a79718e39b8982fcfa9e3878a8517d10f6 diff --git a/keys/generateTruststore.sh b/keys/generateTruststore.sh index 0c5aedc2..7b1858a1 100755 --- a/keys/generateTruststore.sh +++ b/keys/generateTruststore.sh @@ -1,14 +1,8 @@ #!/bin/bash -# this script imports the cacert root certs +# this script imports the root certificates for this installation rm -f ../config/cacerts.jks -#wget -N http://www.cacert.org/certs/root.crt -#wget -N http://www.cacert.org/certs/class3.crt - -#keytool -importcert -keystore ../config/cacerts.jks -file root.crt -alias root -storepass "changeit" $1 -#keytool -importcert -keystore ../config/cacerts.jks -file class3.crt -alias class3 -storepass "changeit" $1 - function import(){ keytool -importcert -keystore ../config/cacerts.jks -file "$1.crt" -alias own -storepass "changeit" -alias "$1" $2 }