summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-05-11 12:30:14 +0000
committerGerrit Code Review <gerrit@onap.org>2021-05-11 12:30:14 +0000
commit21349802fd5b6aea04b66630f108b3603930c7c4 (patch)
tree0c8a02cdf8c76e1f1e5cc0e43e41173b358ad269
parent8765a06d25e77664ab2ebba089e531f7a995bca1 (diff)
parentff5947f44df7f274e443768bdbe80928e96c412d (diff)
Merge "[COMMON] Add custom certs into AAF truststore"
-rwxr-xr-xkubernetes/common/cert-wrapper/resources/import-custom-certs.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh b/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh
index ec1ce944c9..cb4153e778 100755
--- a/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh
+++ b/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh
@@ -58,7 +58,8 @@ done
# Prepare truststore output file
if [ "$AAF_ENABLED" = "true" ]
then
- mv $WORK_DIR/$ONAP_TRUSTSTORE $WORK_DIR/$TRUSTSTORE_OUTPUT_FILENAME
+ echo "AAF is enabled, use 'AAF' truststore"
+ export TRUSTSTORE_OUTPUT_FILENAME=${ONAP_TRUSTSTORE}
else
echo "AAF is disabled, using JRE truststore"
cp $JRE_TRUSTSTORE $WORK_DIR/$TRUSTSTORE_OUTPUT_FILENAME