X-Git-Url: http://git.onelab.eu/?p=myops.git;a=blobdiff_plain;f=web%2Fcollect%2Fclient%2Fcollect.sh;h=f8131b88ee77d5632ad43bed28b33b3e7ea3cbd5;hp=f8c49ceae11a71027642bd22705c6f997ad62643;hb=3ebc599db4bc491de0dd4195b2e6dc858dbd3d22;hpb=2c16b9ee5acc1b619824df8d4e4fb57c6a02dee7 diff --git a/web/collect/client/collect.sh b/web/collect/client/collect.sh index f8c49ce..f8131b8 100644 --- a/web/collect/client/collect.sh +++ b/web/collect/client/collect.sh @@ -9,8 +9,8 @@ LOGFILE=/home/${PLC_SLICE_PREFIX}_myops/myops.log cd /home/${PLC_SLICE_PREFIX}_myops -if [ -f /usr/boot/cacert.pem ] ; then - CURL_ARGS="$CURL_ARGS --cacert /usr/boot/cacert.pem" +if [ -f /usr/boot/myops_cacert.pem ] ; then + CURL_ARGS="$CURL_ARGS --cacert /usr/boot/myops_cacert.pem" else CURL_ARGS="$CURL_ARGS --insecure" fi