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

SNI Support #6

Open
eon01 opened this issue Jun 15, 2016 · 2 comments
Open

SNI Support #6

eon01 opened this issue Jun 15, 2016 · 2 comments

Comments

@eon01
Copy link

eon01 commented Jun 15, 2016

Hi there,

I have got this error message when I tested the example on the readme file:

/usr/local/lib/python2.7/dist-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 /usr/local/lib/python2.7/dist-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

@achiku
Copy link
Owner

achiku commented Jul 6, 2016

@eon01 Hi, sorry for being late to reply. Reading your log, and googling around for a couple of minutes, I found upgrading your OpenSSL could solve the problem. Could you try this?

http://urllib3.readthedocs.io/en/latest/advanced-usage.html?highlight=InsecurePlatformWarning#ssl-warnings

@eon01
Copy link
Author

eon01 commented Aug 5, 2016

Hello @achiku :

Found something here : https://github.com/kennethreitz/requests/issues/749#issuecomment-19187417

  • pyOpenSSL
  • ndg-httpsclient
  • pyasn1

Should be installed if Python version < 2.7.9.
http://stackoverflow.com/a/18579484/2899642

I created a pull request: #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants