#309 Don't validate the CA of the server when downloading the CA
Merged 5 years ago by mprahl. Opened 5 years ago by mprahl.

file modified
+1 -1
@@ -8,7 +8,7 @@ 

    # 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

no initial comment

I'll merge this since there is an outage and this will fix it.

Pull-Request has been merged by mprahl

5 years ago