Completed necessary changes for Basic ATS Configuration
Setup tool.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user