b44ac0
diff --git openjdk.orig/jdk/src/share/classes/sun/security/tools/keytool/Main.java openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java
b44ac0
--- openjdk.orig/jdk/src/share/classes/sun/security/tools/keytool/Main.java
b44ac0
+++ openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java
b44ac0
@@ -1004,7 +1004,7 @@
b44ac0
             }
b44ac0
         } else if (command == GENKEYPAIR) {
b44ac0
             if (keyAlgName == null) {
b44ac0
-                keyAlgName = "DSA";
b44ac0
+                keyAlgName = "RSA";
b44ac0
             }
b44ac0
             doGenKeyPair(alias, dname, keyAlgName, keysize, sigAlgName);
b44ac0
             kssave = true;