chiark / gitweb /
Infra: Honour archive-query-tls-curl-ca-args
[dgit.git] / infra / get-dm-txt
index 9885f9e..02e73f0 100755 (executable)
@@ -6,9 +6,8 @@ cd ${DGIT_INFRA_GETDMTXT_DATADIR-/srv/dgit.debian.org/data}
 file=dm.txt
 server=ftp-master.debian.org
 path=$file
-cert=/etc/ssl/certs/$server.pem
 
-certargs="--cacert=$cert --capath=/dev/enoent"
+certargs=$(git config dgit-distro.debian.archive-query-tls-curl-ca-args)
 
 with-lock-ex -f $file.lock sh -c "
        if ! curl $certargs \