Forum Archive

httplib2 module ssl requests

gowf67

It seems like some sites error with:

ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:749)

when using the httplib2 module request method. I suspect they are forcing TLS 1.1, TLS1.2 (or TLS over SSL) and thus the OpenSSL library this module is using may be older. Is this a correct assumption and if so is there a way to upgrade it? Thanks W

[deleted]

https://www.openssl.org/news/newslog.html
import ssl
print(ssl.OPENSSL_VERSION)

OpenSSL 1.0.2f 28 Jan 2016