Python requests SSL error [SSL: UNKNOWN_PROTOCOL] while getting https://www.nfm.com
<p>Using Python 3.4 and requests 2.11.1 package to get '<a href="https://www.nfm.com" rel="nofollow">https://www.nfm.com</a>' website, requests throws an SSLError [SSL: UNKNOWN_PROTOCOL]. I'm able to get a valid response from other https sites such as pythonanywhere.com and amazon.com. The error is only encountered trying to <code>requests.get('https://www.nfm.com')</code> or <code>requests.get('https://www.nfm.com', verify=False)</code>.</p>

<p>I checked NFM's certificate in Chrome and it's a valid thawte SHA256 SSL CA. Is this a problem with NFM or is there something I need to configure on my end to get a response object from this website?</p>

<p>According to <a href="https://www.ssllabs.com/ssltest/analyze.html?d=www.nfm.com" rel="nofollow">SSLLabs</a> the server supports only TLS 1.1 and higher. My guess is that you have an older OpenSSL version which is not able to speak this version. Support for TLS 1.1 and TLS 1.2 was added with OpenSSL 1.0.1 years ago but for example Apple ships only the very old version 0.9.8 on Mac OS X which only supports at most TLS 1.0 (which the server does not support).</p>

python ssl https python-requests