Python 3.6 S2I image missing SSL library: How can I enable SSL by default?
Issue
-
We need to have the SSL enabled by default or how can I can enable SSL library by default. We do not want to skip SSL checks for our python container.
-
Python 3.6 S2I image: NO SSL enabled.
$ docker run -it --rm --name testpython registry.access.redhat.com/rhscl/python-36-rhel7 /bin/bash (app-root) python Python 3.6.3 (default, Oct 5 2017, 20:27:50) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import socket >>> hasattr(socket, "ssl") False >>>A false response means that python SSL library was not compiled into python installation on the image.
Environment
- Red Hat OpenShift Container Platform
- 3.x
- Python 3.6.3 image
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
