Explicitly use certificate chain.

This commit is contained in:
2016-08-05 15:42:57 +02:00
parent 751a321aa6
commit 0d3ed3af2c
2 changed files with 6 additions and 0 deletions

View File

@@ -1,6 +1,11 @@
import os.path
from os import getenv
from collections import defaultdict
import requests.certs
# Certificate file for communication with other systems.
TLS_CERT_FILE = requests.certs.where()
print('Loading TLS certificates from %s' % TLS_CERT_FILE)
import requests.certs