python2 ssl certificate error
fofiedelly opened this issue · 1 comments
fofiedelly commented
Hi guys thanks for this bot code.
I go trough the tutorial on build-first-slack-bot.
I started the code on my Ubuntu 14.04 and run in this error.
I try to install the urllib but the error is still there.
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. You can upgrade to a newer version of Python to solve this. For more information,
fofiedelly commented
solved!
I only need to install the security package extras
pip install requests[security]
stackOverflow Thread