summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cert-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/cert-wrapper')
-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 87e584c78e..b5a1d57649 100755
--- a/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh
+++ b/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh
@@ -50,7 +50,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