Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL Connections in Python2.7 #18

Open
andrewkrug opened this issue Jun 5, 2017 · 0 comments
Open

SSL Connections in Python2.7 #18

andrewkrug opened this issue Jun 5, 2017 · 0 comments
Labels

Comments

@andrewkrug
Copy link
Member

When running on ubuntu 14.04 with python 2.7 the following error is thrown:

/home/ubuntu/aws_ir/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning

If the environment is python 2.7 we should set this. Since checking signatures is happening this is OK. Would also recommend strong messaging around only running aws_ir and margaritashotgun in python3 for security reasons.

>>> import urllib3
>>> urllib3.disable_warnings()
@andrewkrug andrewkrug added the bug label Jun 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant