Bug 1222024
| Summary: | InsecurePlatformWarning: A true SSLContext object is not available | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Harald Reindl <h.reindl> | |
| Component: | python-fedora | Assignee: | Fedora Infrastructure SIG <infra-sig> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 21 | CC: | cheese, infra-sig, jonstanley, lmacken, opensource, pp, rbean, relrod, ricky | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1229387 (view as bug list) | Environment: | ||
| Last Closed: | 2015-06-17 19:40:37 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1229387 | |||
|
Description
Harald Reindl
2015-05-15 13:57:43 UTC
I guess this is a problem in python-fedora or maybe urllib3, but most likely not in fedora-easy-karma direclty. It's messier than that, real fix would be to update Fedora 21 to python 2.7.9 (or .10), downgrade/patch python-requests and python-urllib3 to versions that don't care or just disable the warnings per package... Alternatively, we could build python-urllib3 against pyOpenSSL and patch it to inject the pyOpenSSL hooks at import-time (just for F21). python-requests-2.7.0-1.fc21,python-urllib3-1.10.4-3.20150503gita91975b.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/python-requests-2.7.0-1.fc21,python-urllib3-1.10.4-3.20150503gita91975b.fc21 Quick testing suggests the patch makes the warning go away (and probably now apps using urllib3/requests now do TLS "correctly" by default). Suppose some "regression" with self-signed certs/legacy servers may occur, but that is a small price for getting things secure ;-) If I read the spec/patch correctly, pyOpenSSL gets used even with Python 3, which may not be desired (seems to work fine anyway) python-requests-2.7.0-1.fc21, python-urllib3-1.10.4-3.20150503gita91975b.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |