+ truststore.sh: use correct aliases
rm -f cacerts.jks
function import(){
- keytool -importcert -keystore ../config/cacerts.jks -file "$1.crt" -alias own -storepass "changeit" -alias "$1" $2
+ name=$1
+ keytool -importcert -keystore ../config/cacerts.jks -file "$1.crt" -alias own -storepass "changeit" -alias "$(basename $name)" $2
}
function importP(){
public void verify() throws IOException {
String link = extractLink();
- System.out.println(link);
String[] parts = link.split("\\?");
URL u = new URL("https://" + ManagedTest.getServerName() + "/verify?" + parts[1]);