hipnotify
hipnotify copied to clipboard
SNI Support
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
@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
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: https://github.com/achiku/hipnotify/pull/7