From c2fe08bb91494d3ce9dae60ed89f29bb0057bbf8 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 11 Nov 2011 18:05:33 -0500 Subject: [PATCH] Preparing 0.7.0 release. --- distrib/makekeystore_jdk.cmd | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/distrib/makekeystore_jdk.cmd b/distrib/makekeystore_jdk.cmd index 648c8f4..d3c9e94 100644 --- a/distrib/makekeystore_jdk.cmd +++ b/distrib/makekeystore_jdk.cmd @@ -1,2 +1,6 @@ +@REM -------------------------------------------------------------------------- +@REM Set HOSTNAME to the server's hostname +@REM -------------------------------------------------------------------------- +@SET HOSTNAME=localhost @del keystore -@keytool -keystore keystore -alias localhost -genkey -keyalg RSA -dname "CN=localhost, OU=Gitblit, O=Gitblit, L=Some Town, ST=Some State, C=US" \ No newline at end of file +@keytool -keystore keystore -alias %HOSTNAME% -genkey -keyalg RSA -dname "CN=%HOSTNAME%, OU=Gitblit, O=Gitblit, L=Some Town, ST=Some State, C=US" \ No newline at end of file -- Gitblit v1.9.1