diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2020-03-02 10:22:54 -0800 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-03-02 10:22:54 -0800 |
commit | dc55d0e8fe71a80a52591e8f9ab55de636bc11d3 (patch) | |
tree | 36978df62e4cbfa757fa0adab1d80005d5e1bfae /azure-pipelines | |
parent | 0f316d5957b2148c297c455a2e03ca555693d61e (diff) | |
download | libgit2-dc55d0e8fe71a80a52591e8f9ab55de636bc11d3.tar.gz |
ci: provide globalsign certs for bionicethomson/azp
tls.mbed.org has neglected to send their full certificate chain. Add
their intermediate cert manually. 🙄
Diffstat (limited to 'azure-pipelines')
-rw-r--r-- | azure-pipelines/docker/bionic | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/azure-pipelines/docker/bionic b/azure-pipelines/docker/bionic index ae9604de7..33175a0b7 100644 --- a/azure-pipelines/docker/bionic +++ b/azure-pipelines/docker/bionic @@ -25,7 +25,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 && \ |