aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2018-05-23 00:35:36 -0700
committerRitu Sood <ritu.sood@intel.com>2018-05-23 00:40:44 -0700
commitd736b72cefa390aaa89e3cb5f087f273306339bd (patch)
tree321e215c9cf6062953abe2fe80cacf767465f9de
parent4d9befd9dfd79314b71c8ec5bec2ac43dcf8fafb (diff)
Fixed certificate to use to connect to AAI
Certificate to connect to AAI added Issue-ID: INT-144 Change-Id: I2e7193c7a21c45656d3e7d3ca94a3b402bc6f7c2 Signed-off-by: Ritu Sood <ritu.sood@intel.com>
-rw-r--r--boot/oof_vm_init.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot/oof_vm_init.sh b/boot/oof_vm_init.sh
index 67975b45..241c484f 100644
--- a/boot/oof_vm_init.sh
+++ b/boot/oof_vm_init.sh
@@ -2,7 +2,7 @@
CERT=/opt/optf-has/aai_cert.cer
KEY=/opt/optf-has/aai_key.key
-BUNDLE=/opt/optf-has/aai_bundle.pem
+BUNDLE=/opt/optf-has/AAF_RootCA.cer
NEXUS_USERNAME=$(cat /opt/config/nexus_username.txt)
NEXUS_PASSWD=$(cat /opt/config/nexus_password.txt)
@@ -16,7 +16,7 @@ COND_CONF=/opt/optf-has/conductor.conf
LOG_CONF=/opt/optf-has/log.conf
#!!! THE FOLLOWING LINE IS A PLACEHOLDER !!!
-AAI_cert=/usr/local/bin/aai_cert.cer
+AAI_cert=/usr/local/bin/AAF_RootCA.cer
IMAGE_NAME="$NEXUS_DOCKER_REPO/onap/optf-has"
@@ -193,7 +193,7 @@ docker run -d --name solver -v $COND_CONF:/usr/local/bin/conductor.conf -v $LOG_
docker run -d --name reservation -v $COND_CONF:/usr/local/bin/conductor.conf -v $LOG_CONF:/usr/local/bin/log.conf ${IMAGE_NAME}:latest python /usr/local/bin/conductor-reservation --config-file=/usr/local/bin/conductor.conf
-docker run -d --name data -v $COND_CONF:/usr/local/bin/conductor.conf -v $LOG_CONF:/usr/local/bin/log.conf -v $CERT:/usr/local/bin/aai_cert.cer -v $KEY:/usr/local/bin/aai_key.key -v $BUNDLE:/usr/local/bin/bundle.pem ${IMAGE_NAME}:latest python /usr/local/bin/conductor-data --config-file=/usr/local/bin/conductor.conf
+docker run -d --name data -v $COND_CONF:/usr/local/bin/conductor.conf -v $LOG_CONF:/usr/local/bin/log.conf -v $CERT:/usr/local/bin/aai_cert.cer -v $KEY:/usr/local/bin/aai_key.key -v $BUNDLE:/usr/local/bin/AAF_RootCA.cer ${IMAGE_NAME}:latest python /usr/local/bin/conductor-data --config-file=/usr/local/bin/conductor.conf
sleep 10