| |
@@ -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 -k --silent --show-error --location "${CA_URL}" >> /etc/pki/tls/certs/ca-bundle.crt
|
| |
+ curl --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
|
| |
This reverts commit e986a94.
The insecure flag to fetch certificate is no longer needed (fixed on the
cert server).