diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2019-10-17 15:29:19 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2019-10-17 15:29:19 -0500 |
commit | c66ebba1fd4fb6365d17e3ed125bfde32913cd00 (patch) | |
tree | f9dadfcbd7f770013a274096aba15ddfd020ee7f /packages | |
parent | 318a9895ddf5a08f0a0f13e3fe634b099707f5cf (diff) |
override cert stores
Issue-ID: POLICY-2064
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ie48b9c322b5a643d3e5fa5a6125389c81cf31c96
Diffstat (limited to 'packages')
-rw-r--r-- | packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh b/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh index 3eaa25937..65cd48547 100644 --- a/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh +++ b/packages/apex-pdp-package-full/src/main/package/scripts/apexOnapPf.sh @@ -59,6 +59,16 @@ then exit fi +if [[ -f "${HOME}"/config/policy-truststore ]]; then + echo "overriding policy-truststore" + cp -f "${HOME}"/config/policy-truststore "${APEX_HOME}"/etc/ssl/ +fi + +if [[ -f "${HOME}"/config/policy-keystore ]]; then + echo "overriding policy-keystore" + cp -f "${HOME}"/config/policy-keystore "${APEX_HOME}"/etc/ssl/ +fi + if [ $(whoami) == "$APEX_USER" ] then $APEX_HOME/bin/apexApps.sh onappf $* |