Jason Pyeron
2012-08-19 d1231c63669f4bc3643985b9032de7f998612e08
1
2
3
4
5
6
7
#!/bin/sh
# --------------------------------------------------------------------------
# SET HOSTNAME to the server's hostname
# --------------------------------------------------------------------------
HOSTNAME=localhost
rm keystore
keytool -keystore keystore -alias $HOSTNAME -genkey -keyalg RSA -dname "CN=$HOSTNAME, OU=Gitblit, O=Gitblit, L=Some Town, ST=Some State, C=US"