I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit c44c2225 authored by zzz's avatar zzz
Browse files

minor

parent 8efefeeb
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ import java.util.ArrayList; ...@@ -4,6 +4,7 @@ import java.util.ArrayList;
import java.io.File; import java.io.File;
import java.io.FilenameFilter; import java.io.FilenameFilter;
import java.io.IOException; import java.io.IOException;
import java.security.KeyStore;
import java.util.List; import java.util.List;
import java.util.Properties; import java.util.Properties;
import java.util.StringTokenizer; import java.util.StringTokenizer;
...@@ -87,7 +88,7 @@ public class RouterConsoleRunner { ...@@ -87,7 +88,7 @@ public class RouterConsoleRunner {
*/ */
public RouterConsoleRunner(String args[]) { public RouterConsoleRunner(String args[]) {
if (args.length == 0) { if (args.length == 0) {
// _listenHost and _webAppsDir are defaulted above // _listenHost and _webAppsDir are defaulted below
_listenPort = DEFAULT_LISTEN_PORT; _listenPort = DEFAULT_LISTEN_PORT;
} else { } else {
boolean ssl = false; boolean ssl = false;
...@@ -352,7 +353,7 @@ public class RouterConsoleRunner { ...@@ -352,7 +353,7 @@ public class RouterConsoleRunner {
String[] args = new String[] { String[] args = new String[] {
keytool, keytool,
"-genkey", // -genkeypair preferred in newer keytools, but this works with more "-genkey", // -genkeypair preferred in newer keytools, but this works with more
"-storetype", "JKS", "-storetype", KeyStore.getDefaultType(),
"-keystore", ks.getAbsolutePath(), "-keystore", ks.getAbsolutePath(),
"-storepass", DEFAULT_KEYSTORE_PASSWORD, "-storepass", DEFAULT_KEYSTORE_PASSWORD,
"-alias", "console", "-alias", "console",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment