James Moger
2012-10-21 72cb19b84e87e63770391a37ea3872f963574869
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"