Skip to content

Commit

Permalink
Merge pull request #233 from release-engineering/download-ca-insecure
Browse files Browse the repository at this point in the history
Don't validate the CA of the server when downloading the CA
  • Loading branch information
mprahl committed Apr 1, 2019
2 parents 58e1110 + 8297841 commit f908696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/install-ca.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

0 comments on commit f908696

Please sign in to comment.