Skip to content

Instantly share code, notes, and snippets.

@archatas
Created August 31, 2016 11:06
Show Gist options
  • Save archatas/60f3b426279394672aee08dc823a8321 to your computer and use it in GitHub Desktop.
Save archatas/60f3b426279394672aee08dc823a8321 to your computer and use it in GitHub Desktop.
Fixing SSL certificate issues in requests library
# In case of SSL errors in Python requests library:
# (myenv)$ pip install certifi
# Then add the following to your Django settings:
import os, certifi
os.environ['REQUESTS_CA_BUNDLE'] = certifi.where()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment