help with failing build

Miro Hrončok mhroncok at redhat.com
Fri Jan 30 11:16:59 UTC 2015


The problem is, that apps on OpenShift use SNI to enable custom domain
names with custom certificates. Which is a standard for a bazillion
years and the only thing that does not support it is Windows XP with IE
6 and... ehm, Python 2.

http://en.wikipedia.org/wiki/Server_Name_Indication

On Python 3 with request, this is completely supported. However, on
Python 2, there's a workaround needed. You'll need the following to use
SNI from requests:

requests>=2.3.0
ndg_httpsclient>=0.3.2
pyOpenSSL>=0.14
pyasn1>=0.1.7

On Fedora 21, for example, this is all available in the following packages:

python-requests
python-ndg_httpsclient
pyOpenSSL
python-pyasn1

See:

 *
http://docs.python-requests.org/en/latest/community/faq/#what-are-hostname-doesn-t-match-errors
 *
https://stackoverflow.com/questions/18578439/using-requests-with-tls-doesnt-give-sni-support/18579484#18579484

-- 
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok


More information about the copr-devel mailing list