summaryrefslogtreecommitdiffstats
path: root/auth/docker/aaf.sh
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-09-17 19:21:19 -0500
committerInstrumental <jonathan.gathman@att.com>2018-09-17 19:21:43 -0500
commit3237aa25ac96300ceb24e69794cf0cdacf65e9f9 (patch)
tree1963306aa58b486428c8c12e59380fbd67bf386b /auth/docker/aaf.sh
parent22613d3eda42ca065734d99fff59e4b4250ad660 (diff)
CM init work
Issue-ID: AAF-420 Change-Id: I79543d99b8d13bc43f2de0dff2d61de570331957 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/docker/aaf.sh')
-rw-r--r--auth/docker/aaf.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth/docker/aaf.sh b/auth/docker/aaf.sh
index 53b3d60e..c09e7b03 100644
--- a/auth/docker/aaf.sh
+++ b/auth/docker/aaf.sh
@@ -48,6 +48,9 @@ if [ "$(docker volume ls | grep aaf_config)" = "" ] && [ ${P12_LOAD} = "yes" ];
docker container cp ${AAF_INITIAL_X509_P12} aaf_config_$USER:/opt/app/osaaf/local/org.osaaf.aaf.p12
docker container cp ${AAF_SIGNER_P12} aaf_config_$USER:/opt/app/osaaf/local/org.osaaf.aaf.signer.p12
+ if [ -z "$CM_CA_LOCAL" ]; then
+ CM_CA_LOCAL="org.onap.aaf.auth.cm.ca.LocalCA,/opt/app/osaaf/local/org.osaaf.aaf.signer.p12;${AAF_SIGNER_ALIAS};enc:"
+ fi
set_prop cm_ca.local "${CM_CA_LOCAL}" org.osaaf.aaf.cm.ca.props
set_prop cadi_x509_issuers "${CADI_X509_ISSUERS}" org.osaaf.aaf.props