diff options
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/gitblit/Constants.java | 6 | ||||
-rw-r--r-- | src/com/gitblit/MakeCertificate.java | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java index 8da04424..69f5786a 100644 --- a/src/com/gitblit/Constants.java +++ b/src/com/gitblit/Constants.java @@ -23,7 +23,11 @@ public class Constants { // The build script extracts this exact line so be careful editing it
// and only use A-Z a-z 0-9 .-_ in the string.
- public static final String VERSION = "0.5.0";
+ public static final String VERSION = "0.5.1";
+
+ // The build script extracts this exact line so be careful editing it
+ // and only use A-Z a-z 0-9 .-_ in the string.
+ public static final String VERSION_DATE = "2011-06-28";
// The build script extracts this exact line so be careful editing it
// and only use A-Z a-z 0-9 .-_ in the string.
diff --git a/src/com/gitblit/MakeCertificate.java b/src/com/gitblit/MakeCertificate.java index 17124b32..67253c42 100644 --- a/src/com/gitblit/MakeCertificate.java +++ b/src/com/gitblit/MakeCertificate.java @@ -57,7 +57,7 @@ public class MakeCertificate { jc.usage();
}
File keystore = new File("keystore");
- generateSelfSignedCertificate(params.alias, keystore, params.storePassword, params.subject);
+ generateSelfSignedCertificate(params.hostname, keystore, params.storePassword, params.subject);
}
public static void generateSelfSignedCertificate(String hostname, File keystore,
@@ -158,8 +158,8 @@ public class MakeCertificate { private static final FileSettings FILESETTINGS = new FileSettings(Constants.PROPERTIES_FILE);
- @Parameter(names = { "--alias" }, description = "Server alias", required = true)
- public String alias;
+ @Parameter(names = { "--hostname" }, description = "Server Hostname", required = true)
+ public String hostname;
@Parameter(names = { "--subject" }, description = "Certificate subject", required = true)
public String subject;
|