aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-10-21 15:23:44 -0400
committerLasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>2020-11-23 09:28:28 +0000
commitae57ee93527ae2852ad720e41be20923ab95eb03 (patch)
tree853fc0f8c2a303403155606bd3c97ee3ca5e0251
parenta28f81875ee609b065c5344fdf669ecce406a435 (diff)
Fix keytool invocation
Fixed 2 issues with keytool invocation in blueprints-processor start script: 1) removed duplicate '-import' 2) corrected path to cacerts file Issue-ID: CCSDK-2914 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id454ebca87811bb9c229ca3145148a7c7a93950b (cherry picked from commit eda1329f854994ed8d4fba11a05a3f33b7bace86)
-rwxr-xr-xms/blueprintsprocessor/application/src/main/docker/startService.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/docker/startService.sh b/ms/blueprintsprocessor/application/src/main/docker/startService.sh
index fb44ffd1c..bbe550b57 100755
--- a/ms/blueprintsprocessor/application/src/main/docker/startService.sh
+++ b/ms/blueprintsprocessor/application/src/main/docker/startService.sh
@@ -5,7 +5,7 @@ nodeName=BlueprintsProcessor_1.0.0_$(cat /proc/self/cgroup | grep docker | sed s
echo "${CLUSTER_ID}:${CLUSTER_NODE_ID} APP Config HOME : ${APP_CONFIG_HOME}"
export APP_HOME=/opt/app/onap
-keytool -import -noprompt -trustcacerts -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -alias ONAP -import -file $APP_CONFIG_HOME/ONAP_RootCA.cer
+keytool -import -noprompt -trustcacerts -keystore $JAVA_HOME/lib/security/cacerts -storepass changeit -alias ONAP -file $APP_CONFIG_HOME/ONAP_RootCA.cer
exec java -classpath "/etc:${APP_HOME}/lib/*:/lib/*:/src:/schema:/generated-sources:${APP_CONFIG_HOME}:${APP_HOME}" \
-DappName=${APP_NAME} -DappVersion=${BUNDLEVERSION} \