summaryrefslogtreecommitdiffstats
path: root/distrib/makekeystore.sh
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/makekeystore.sh')
-rw-r--r--distrib/makekeystore.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/distrib/makekeystore.sh b/distrib/makekeystore.sh
new file mode 100644
index 00000000..59bba90d
--- /dev/null
+++ b/distrib/makekeystore.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# SET HOSTNAME to the server's hostname
+HOSTNAME=localhost
+rm keystore
+java -cp gitblit.jar:$PWD/ext/* com.gitblit.MakeCertificate --hostname $HOSTNAME --subject "CN=$HOSTNAME, OU=Gitblit, O=Gitblit, L=Some Town, ST=Some State, C=US"