Created
          August 31, 2016 11:06 
        
      - 
      
- 
        Save archatas/60f3b426279394672aee08dc823a8321 to your computer and use it in GitHub Desktop. 
    Fixing SSL certificate issues in requests library
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # 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