Append the CKAN cert to both modules
This commit is contained in:
parent
e02fc0f97d
commit
84d43f51ff
@ -5,3 +5,6 @@ import ssl
|
||||
cert = ssl.get_server_certificate(('host', 443))
|
||||
with open('/usr/lib/python2.7/site-packages/requests/cacert.pem', 'a') as f:
|
||||
f.write(cert)
|
||||
|
||||
with open('/usr/lib/python2.7/site-packages/certifi/cacert.pem', 'a') as f:
|
||||
f.write(cert)
|
||||
|
Loading…
Reference in New Issue
Block a user