diff options
author | tragait <rahul.tyagi@est.tech> | 2020-02-24 16:33:50 +0000 |
---|---|---|
committer | tragait <rahul.tyagi@est.tech> | 2020-03-25 13:07:04 +0000 |
commit | 9bbcb1be8d83cca5ba97dc4a2e86c525e51991e5 (patch) | |
tree | 09522feccc3ff9ebefec97694adb37f678e3a1eb /plans/usecases/pnf-sw-upgrade/cds/resources/importCerAndStartService.sh | |
parent | 7405933ba6de25b33ca577e714f298b9fe82beee (diff) |
pnf sw upgrade csit
Change-Id: I776d61030efc3d51e04f98698ceb8c445db2dafa
Signed-off-by: tragait <rahul.tyagi@est.tech>
Issue-ID: INT-1308
Signed-off-by: tragait <rahul.tyagi@est.tech>
Diffstat (limited to 'plans/usecases/pnf-sw-upgrade/cds/resources/importCerAndStartService.sh')
-rwxr-xr-x | plans/usecases/pnf-sw-upgrade/cds/resources/importCerAndStartService.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plans/usecases/pnf-sw-upgrade/cds/resources/importCerAndStartService.sh b/plans/usecases/pnf-sw-upgrade/cds/resources/importCerAndStartService.sh new file mode 100755 index 00000000..c5501d40 --- /dev/null +++ b/plans/usecases/pnf-sw-upgrade/cds/resources/importCerAndStartService.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +chmod -R 775 /opt/app/onap/res +cp -f /opt/app/onap/res/application.properties /opt/app/onap/config +cp -f /opt/app/onap/res/error-messages_en.properties /opt/app/onap/config + +echo "importing aai cert." +keytool -import -noprompt -trustcacerts -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -alias aai -import -file /opt/app/onap/res/aai.cert + +echo "starting service." +source /startService.sh
\ No newline at end of file |