jdk/test/sun/security/tools/keytool/p12importks.sh
changeset 21342 7bbb056a1c23
parent 16720 0e7e9e6ed98a
child 24116 9f9b4ba34aad
--- a/jdk/test/sun/security/tools/keytool/p12importks.sh	Tue Oct 22 19:43:42 2013 -0400
+++ b/jdk/test/sun/security/tools/keytool/p12importks.sh	Wed Oct 23 08:32:03 2013 +0800
@@ -50,7 +50,7 @@
 
 rm jks 2> /dev/null
 $KT -genkeypair -keystore jks -storetype jks -alias me -dname CN=Me \
-	-storepass pass1111 -keypass pass1111 || exit 11
+	-keyalg rsa -storepass pass1111 -keypass pass1111 || exit 11
 
 # Cannot only change storepass
 rm p12 2> /dev/null
@@ -85,7 +85,7 @@
 
 rm jks 2> /dev/null
 $KT -genkeypair -keystore jks -storetype jks -alias me -dname CN=Me \
-	-storepass pass1111 -keypass pass2222 || exit 21
+	-keyalg rsa -storepass pass1111 -keypass pass2222 || exit 21
 
 # Can use old keypass as new storepass so new storepass and keypass are same
 rm p12 2> /dev/null