Mercurial > repos > cathywise > truststore_browse_testing
changeset 25:18fe446f2d02
Tell requests about the new cert bundle. FFS.
| author | Catherine Wise <catherine.wise@csiro.au> |
|---|---|
| date | Thu, 14 May 2015 15:04:50 +1000 |
| parents | f4585bf75a8a |
| children | 463b024b53ff |
| files | TrustStoreGalaxyBrowse.py |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/TrustStoreGalaxyBrowse.py Thu May 14 12:03:13 2015 +1000 +++ b/TrustStoreGalaxyBrowse.py Thu May 14 15:04:50 2015 +1000 @@ -14,6 +14,8 @@ # Tell urllib3 to use pyOpenSSL because we are on old Python stdlib. # import urllib3.contrib.pyopenssl # urllib3.contrib.pyopenssl.inject_into_urllib3() +# +os.environ["REQUESTS_CA_BUNDLE"] = "/etc/ssl/certs/certificates.crt" CLIENT_KEY = "desktop" CLIENT_SECRET = "cpU92F1PT7VOCANjSknuCDp4DrubmujoBaF6b0miz8OpKNokEbGMHCaSFK5/lISbBmaaGVCgeADI2A39F3Hkeg=="
