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

urllib3\util\ssl_.py: SNIMissingWarning, InsecurePlatformWarning #9

Open
donnemartin opened this issue Mar 17, 2016 · 1 comment
Open
Labels

Comments

@donnemartin
Copy link
Owner

donnemartin commented Mar 17, 2016

Older versions of Python can cause the following warnings.

C:\Users\foo\Envs\haxor\lib\site-packages\requests\packages\urllib3\util\ssl_.py:315: 
SNIMissingWarning: An HTTPS request has been made, 
but the SNI (Subject Name Indication) extension to TLS is not available on this platform. 
This may cause the server to present an incorrect TLS certificate, 
which can cause validation failures. For more information, see 
https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
C:\Users\foo\Envs\haxor\lib\site-packages\requests\packages\urllib3\util\ssl_.py:120: 
InsecurePlatformWarning: A true SSLContext object is not available. 
This prevents urllib3 from configuring SSL appropriately and may cause 
certain SSL connections to fail. For more information, see 
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning

One solution is to upgrade to a more recent version of Python.

If you are not able to upgrade Python, check out the following Stack Overflow links to install additional libraries to fix this issue:

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

2 participants
@donnemartin and others