2021-03-30 16:51:48 +00:00
|
|
|
diff --git openjdk.orig/src/java.base/share/classes/sun/security/tools/keytool/Main.java openjdk/src/java.base/share/classes/sun/security/tools/keytool/Main.java
|
|
|
|
--- openjdk.orig/src/java.base/share/classes/sun/security/tools/keytool/Main.java
|
|
|
|
+++ openjdk/src/java.base/share/classes/sun/security/tools/keytool/Main.java
|
2021-10-06 09:14:00 +00:00
|
|
|
@@ -1135,7 +1135,7 @@
|
2021-03-30 16:51:48 +00:00
|
|
|
}
|
|
|
|
} else if (command == GENKEYPAIR) {
|
|
|
|
if (keyAlgName == null) {
|
|
|
|
- keyAlgName = "DSA";
|
|
|
|
+ keyAlgName = "RSA";
|
|
|
|
}
|
2021-10-06 09:14:00 +00:00
|
|
|
doGenKeyPair(alias, dname, keyAlgName, keysize, groupName, sigAlgName);
|
2021-03-30 16:51:48 +00:00
|
|
|
kssave = true;
|