From 95f87fdb63b086ef14aa0aee62166487a6b5721c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ba=C5=A1ti?= Date: Tue, 2 Apr 2019 12:55:49 +0200 Subject: [PATCH] Allow fetch CA cert insecurely MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This workaround until a better solution is implemented to get CA cert reliably. Signed-off-by: Martin Bašti --- docker/install-ca.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/install-ca.sh b/docker/install-ca.sh index fd600cc..7bd992c 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 --silent --show-error --insecure "${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