aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vFW/scripts/v_packetgen_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/vFW/scripts/v_packetgen_install.sh')
-rwxr-xr-xvnfs/vFW/scripts/v_packetgen_install.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/vnfs/vFW/scripts/v_packetgen_install.sh b/vnfs/vFW/scripts/v_packetgen_install.sh
index 15732a1a..b8727711 100755
--- a/vnfs/vFW/scripts/v_packetgen_install.sh
+++ b/vnfs/vFW/scripts/v_packetgen_install.sh
@@ -54,6 +54,12 @@ apt-get update
apt-get install --allow-unauthenticated -y make wget openjdk-8-jdk gcc libcurl4-openssl-dev python-pip bridge-utils apt-transport-https ca-certificates
pip install jsonschema
+# 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 code for packet generator
mkdir /opt/honeycomb
cd /opt