summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-03-01 15:56:22 -0800
committerGitHub <noreply@github.com>2020-03-01 15:56:22 -0800
commit8c1aef10b82adf34a80e60909c27bd14d5b35163 (patch)
tree48fff6951472caa6cb8f41597fd8a13c13b6059d
parenta48da8fab662aaa77340a3e969ac0deec9d51731 (diff)
parent0f316d5957b2148c297c455a2e03ca555693d61e (diff)
downloadlibgit2-8c1aef10b82adf34a80e60909c27bd14d5b35163.tar.gz
Merge pull request #5433 from libgit2/ethomson/azp
azure-pipelines: download GlobalSign's certificate manually
-rw-r--r--azure-pipelines/docker/xenial4
1 files changed, 3 insertions, 1 deletions
diff --git a/azure-pipelines/docker/xenial b/azure-pipelines/docker/xenial
index 8b2501de6..475956f3d 100644
--- a/azure-pipelines/docker/xenial
+++ b/azure-pipelines/docker/xenial
@@ -29,7 +29,9 @@ RUN apt-get update && \
FROM apt AS mbedtls
RUN cd /tmp && \
- curl --location --silent https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz | \
+ curl --location http://secure.globalsign.com/cacert/gsrsaovsslca2018.crt | openssl x509 -inform der -out /tmp/cacert.pem && \
+ curl --location https://curl.haxx.se/ca/cacert.pem >> /tmp/cacert.pem && \
+ curl --location --silent https://tls.mbed.org/download/mbedtls-2.16.2-apache.tgz --cacert /tmp/cacert.pem | \
tar -xz && \
cd mbedtls-2.16.2 && \
scripts/config.pl set MBEDTLS_MD4_C 1 && \