aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vLBMS/scripts/v_lb_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/vLBMS/scripts/v_lb_install.sh')
-rw-r--r--vnfs/vLBMS/scripts/v_lb_install.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/vnfs/vLBMS/scripts/v_lb_install.sh b/vnfs/vLBMS/scripts/v_lb_install.sh
index 1e05f80b..2dbb73d3 100644
--- a/vnfs/vLBMS/scripts/v_lb_install.sh
+++ b/vnfs/vLBMS/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 git maven
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
cd /opt
unzip -p -j /opt/vlbms-scripts-$INSTALL_SCRIPT_VERSION.zip v_lb_init.sh > /opt/v_lb_init.sh