Code Review
/
sdnc
/
oam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix start script issues
[sdnc/oam.git]
/
installation
/
sdnc
/
src
/
main
/
scripts
/
addA1TrustStore.sh
diff --git
a/installation/sdnc/src/main/scripts/addA1TrustStore.sh
b/installation/sdnc/src/main/scripts/addA1TrustStore.sh
index
4e3fcab
..
3528ddf
100755
(executable)
--- a/
installation/sdnc/src/main/scripts/addA1TrustStore.sh
+++ b/
installation/sdnc/src/main/scripts/addA1TrustStore.sh
@@
-22,7
+22,7
@@
SDNC_STORE_DIR=${SDNC_STORE_DIR:-/opt/onap/sdnc/data/stores}
A1_TRUSTSTORE=${SDNC_STORE_DIR}/truststore.a1.adapter.jks
ONAP_TRUSTSTORE=${SDNC_STORE_DIR}/truststoreONAPall.jks
A1_TRUSTSTORE=${SDNC_STORE_DIR}/truststore.a1.adapter.jks
ONAP_TRUSTSTORE=${SDNC_STORE_DIR}/truststoreONAPall.jks
-if [ -f ${A1_TRUST
_STORE}
]
+if [ -f ${A1_TRUST
STORE} -a "${A1_TRUSTSTORE_PASSWORD}" != ""
]
then
keytool -importkeystore -srckeystore ${A1_TRUSTSTORE} -srcstorepass ${A1_TRUSTSTORE_PASSWORD} -destkeystore ${ONAP_TRUSTSTORE} -deststorepass changeit
fi
then
keytool -importkeystore -srckeystore ${A1_TRUSTSTORE} -srcstorepass ${A1_TRUSTSTORE_PASSWORD} -destkeystore ${ONAP_TRUSTSTORE} -deststorepass changeit
fi