From 5c9cf74164189f22135e0a06c76f66e886b8a2f8 Mon Sep 17 00:00:00 2001 From: Giulia Naponiello Date: Apr 01 2019 16:54:46 +0000 Subject: Ignore https verify on CA This change works around error curl: (60) SSL certificate problem: unable to get local issuer certificate. --- diff --git a/docker/install-ca.sh b/docker/install-ca.sh index fd600cc..fb33c8a 100755 --- a/docker/install-ca.sh +++ b/docker/install-ca.sh @@ -3,7 +3,7 @@ set -e if [ -n "${CA_URL}" ] && [ ! -f "/tmp/.imported" ]; then # Since update-ca-trust doesn't work as a non-root user, let's just append to the bundle directly - curl --silent --show-error "${CA_URL}" >> /etc/pki/tls/certs/ca-bundle.crt + curl -k --silent --show-error "${CA_URL}" >> /etc/pki/tls/certs/ca-bundle.crt # Create a file so we know not to import it again if the container is restarted touch /tmp/.imported fi