dashboard
repositories
filestore
activity
search
login
githubFork
/
gitblit
Gitblit devel
summary
reflog
commits
tree
docs
forks
compare
pages
blame
|
history
|
raw
Fix possible string index out of bounds exception
James Moger
2012-10-10
ffbd6e70d1cdc2638f31860e810c17ad3d006fd6
[githubFork/gitblit.git]
/
distrib
/
makekeystore_jdk.sh
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"