Completed necessary changes for Basic ATS Configuration

Setup tool.
This commit is contained in:
Juan Carlos Luciani
2006-11-09 06:51:00 +00:00
parent a999490245
commit 3a44ee8211
7 changed files with 37 additions and 33 deletions

View File

@@ -34,6 +34,8 @@
# #
#############################################################
JAVA_HOME=/usr/lib/jvm/java-1.5.0-ibm
# Do not do anything if the client keystore has already been created
if [ -f /etc/CASA/authtoken/keys/client/jks-store ]; then
echo "The client keystore is already setup"
@@ -41,7 +43,7 @@ else
if [ -f /etc/CASA/authtoken/keys/casaatsdSigningCert ]; then
echo "Setting up the clients's keystore"
KEYTOOL_PATH=/usr/lib/jvm/java-1.5.0-ibm/bin/keytool
KEYTOOL_PATH=$JAVA_HOME/bin/keytool
# Import the certificate to the client's keystore
$KEYTOOL_PATH -import -noprompt -keystore /etc/CASA/authtoken/keys/client/jks-store -alias signingCert -storepass secret -keypass secret -file /etc/CASA/authtoken/keys/casaatsdSigningCert