equal
deleted
inserted
replaced
41 ;; |
41 ;; |
42 esac |
42 esac |
43 |
43 |
44 rm trystore.jks 2> /dev/null |
44 rm trystore.jks 2> /dev/null |
45 |
45 |
46 KEYTOOL="${TESTJAVA}${FS}bin${FS}keytool -storetype jks -keystore trystore.jks -keyalg rsa" |
46 KEYTOOL="${TESTJAVA}${FS}bin${FS}keytool ${TESTTOOLVMOPTS} -storetype jks -keystore trystore.jks -keyalg rsa" |
47 $KEYTOOL -genkeypair -alias a -dname CN=A -storepass changeit -keypass changeit |
47 $KEYTOOL -genkeypair -alias a -dname CN=A -storepass changeit -keypass changeit |
48 $KEYTOOL -genkeypair -alias b -dname CN=B -storepass changeit -keypass changeit |
48 $KEYTOOL -genkeypair -alias b -dname CN=B -storepass changeit -keypass changeit |
49 |
49 |
50 # We use -protected for JKS keystore. This is illegal so the command should |
50 # We use -protected for JKS keystore. This is illegal so the command should |
51 # fail. Then we can check if the keystore is damaged. |
51 # fail. Then we can check if the keystore is damaged. |