X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=vnfs%2FvLB%2Fscripts%2Fv_lb_install.sh;h=72bc4163a2adfdee83b07c9659240ad974e09e24;hb=0e9bf965dd84e82625fd7e4c7d523200e2784ae9;hp=9d2967c7fa3552181472a7568b25bedd1fbc2dc6;hpb=66f9ef630ec178de1f9e3dc479de54cae30ee1ac;p=demo.git diff --git a/vnfs/vLB/scripts/v_lb_install.sh b/vnfs/vLB/scripts/v_lb_install.sh index 9d2967c7..72bc4163 100644 --- a/vnfs/vLB/scripts/v_lb_install.sh +++ b/vnfs/vLB/scripts/v_lb_install.sh @@ -60,6 +60,12 @@ apt-get update apt-get install --allow-unauthenticated -y make gcc wget openjdk-8-jdk bridge-utils libcurl4-openssl-dev apt-transport-https ca-certificates sleep 1 +# Install fd.io certificate +HOST=nexus.fd.io +PORT=443 +TRUST_CERT_FILE="/etc/ssl/certs/ca-certificates.crt" +bash -c "echo -n | openssl s_client -showcerts -connect $HOST:$PORT 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' >> $TRUST_CERT_FILE" + # Download vLB demo code for load balancer mkdir /opt/FDserver cd /opt