53c576
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
53c576
--- openjdk.orig/jdk/src/share/classes/sun/security/tools/keytool/Main.java
53c576
+++ openjdk/jdk/src/share/classes/sun/security/tools/keytool/Main.java
53c576
@@ -1004,7 +1004,7 @@
53c576
             }
53c576
         } else if (command == GENKEYPAIR) {
53c576
             if (keyAlgName == null) {
53c576
-                keyAlgName = "DSA";
53c576
+                keyAlgName = "RSA";
53c576
             }
53c576
             doGenKeyPair(alias, dname, keyAlgName, keysize, sigAlgName);
53c576
             kssave = true;