summaryrefslogtreecommitdiffstats
path: root/check-external
diff options
context:
space:
mode:
authorLuciano Bello <luciano@debian.org>2016-05-06 12:51:04 +0000
committerLuciano Bello <luciano@debian.org>2016-05-06 12:51:04 +0000
commit414bf73f95342f56f56c6df3ec0a7597eb9890db (patch)
tree5a31aa284c4973964777d77d2ec02d57e6353864 /check-external
parentebc7340f8de909fc768695acaf20ad9897a2c3d6 (diff)
unknown-packages.py: SSL certs. Fix from #787410
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@41474 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'check-external')
-rwxr-xr-xcheck-external/unknown-packages.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/check-external/unknown-packages.py b/check-external/unknown-packages.py
index f61d37cbac..62fc3357d3 100755
--- a/check-external/unknown-packages.py
+++ b/check-external/unknown-packages.py
@@ -33,6 +33,10 @@ except security_db.SchemaMismatch:
db = security_db.DB(db_file, verbose=True)
new_file = True
+debian_ca_bundle = '/etc/ssl/ca-debian/ca-certificates.crt'
+if os.path.exists(debian_ca_bundle):
+ os.environ['SSL_CERT_FILE'] = debian_ca_bundle
+
ws = SOAPpy.SOAPProxy('https://packages.qa.debian.org/cgi-bin/soap-alpha.cgi')
def checkInPTS(pkg):

© 2014-2024 Faster IT GmbH | imprint | privacy policy