Skip to content

Older python 2.7 setup

John Bradley edited this page Jan 5, 2017 · 10 revisions

python ssl module bug

For python 2 the preferred version is 2.7.9+ as it contains a functional ssl module.

In testing the Redhat patched python version 2.7.8 works without modification.

This following error can occur if you are using a python < 2.7.9 with an unpatched ssl module:

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.

Options for patching your python ssl

You may need superuser(root) to install additional dependancies needed by these fixes.