How to run django runserver over TLS 1.2

瘦欲@ 提交于 2019-12-04 10:17:21

I solved installing this libraries:

pip install urllib3
pip install pyopenssl
pip install ndg-httpsclient
pip install pyasn1

solution from:

https://github.com/pinax/pinax-stripe/issues/267

This is not a django issue, but operating system and language issue.

I'm using Mac OS X and and a brew version of python. I'm also using virtual env which has its own copy of python and open ssl.

I did the following:

I first downloaded the most recent version of XCode which updates OpenSSL. I then uninstalled and reinstalled brew python. I then updated virtualenv.

If you have already tried to update openssl and python (using brew), and still does not work, make sure your settings have DEBUG = False.

Watch this thread for more information https://code.google.com/p/googleappengine/issues/detail?id=13207

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!