]> WPIA git - gigi.git/blob - keys/generateTruststore.sh
fix: move switch to organisation context to separate page
[gigi.git] / keys / generateTruststore.sh
1 #!/bin/bash
2 # this script imports the root certificates for this installation
3
4 rm -f ../config/cacerts.jks
5
6 function import(){
7   keytool -importcert -keystore ../config/cacerts.jks -file "$1.crt" -alias own -storepass "changeit" -alias "$1" $2
8 }
9
10 import root -noprompt
11 import assured
12 import unassured
13
14 keytool -list -keystore ../config/cacerts.jks -storepass "changeit"