From e986a9470d6099ec24031b43d726f09337179aa0 Mon Sep 17 00:00:00 2001 From: mprahl Date: Apr 01 2019 20:24:10 +0000 Subject: Don't validate the CA of the server when downloading the CA --- diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 1f316cf..f3120ec 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -8,7 +8,7 @@ main() { # installing CA certificate if [ -n "${CA_URL}" ] && [ ! -f "/tmp/.ca-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 --location "${CA_URL}" >> /etc/pki/tls/certs/ca-bundle.crt + curl -k --silent --show-error --location "${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/.ca-imported fi