summaryrefslogtreecommitdiffstats
path: root/ccsdk-app-os/docker-dashboard-installation.sh
diff options
context:
space:
mode:
authorKotagiri, Ramprasad (rp5662) <rp5662@att.com>2019-04-15 21:24:36 -0400
committerKotagiri, Ramprasad (rp5662) <rp5662@att.com>2019-04-15 22:07:06 -0400
commitf067b587f817d91d6715c348233240b59b5df2ef (patch)
tree3e9b0c5165fecf78fb57e9663c68b802611c847f /ccsdk-app-os/docker-dashboard-installation.sh
parent1efaa9b5667ba11907beb849bf55f14c5927e35e (diff)
update ca certs trust store
Update docker container script to update DCAE ca cert Fix the page title on the landing page Issue-ID: CCSDK-1011 Change-Id: I7e09b43d5cd6e25b242dfdd2c6c1c0819013e1fc Signed-off-by: Kotagiri, Ramprasad (rp5662) <rp5662@att.com>
Diffstat (limited to 'ccsdk-app-os/docker-dashboard-installation.sh')
-rw-r--r--ccsdk-app-os/docker-dashboard-installation.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ccsdk-app-os/docker-dashboard-installation.sh b/ccsdk-app-os/docker-dashboard-installation.sh
index 4c35510..d658490 100644
--- a/ccsdk-app-os/docker-dashboard-installation.sh
+++ b/ccsdk-app-os/docker-dashboard-installation.sh
@@ -1,5 +1,12 @@
#!/bin/bash
+# run import for ca certs
+if [ -e /usr/local/share/ca-certificates/cacert.pem ]
+then
+ mv /usr/local/share/ca-certificates/cacert.pem /usr/local/share/ca-certificates/cacert.crt
+ update-ca-certificates
+fi
+
# Unzip the dashboard war file
unzip -qq -d /home/deployments/ccsdk-app /home/deployments/ccsdk-app*.war