Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1283932 - openstack command issue InsecurePlatformWarning warning
Summary: openstack command issue InsecurePlatformWarning warning
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-openstackclient
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: async
: 8.0 (Liberty)
Assignee: Jakub Ruzicka
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-20 10:15 UTC by Pablo Caruana
Modified: 2020-03-11 14:59 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-01 00:42:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1227505 0 medium CLOSED Fix exception handling when loading a private key 2022-05-16 11:32:56 UTC

Description Pablo Caruana 2015-11-20 10:15:53 UTC
When running openstack commands on a RHEL7 machine, using HTTPS URL:s to the services, every command starts with a warning:

/usr/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:90: 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.
  InsecurePlatformWarning

According to the web page referred, this seems to be a problem that has been fixed in a later version. 

python-openstackclient-1.0.3-2.el7.noarch
pyOpenSSL-0.13.1-3.el7.x86_64

Comment 2 Pablo Caruana 2015-11-20 10:22:45 UTC
Similar messages happens with OSP7 Bug 1242675 " When the undercloud is configured with SSL=true any Cli command produce multiple SSL SecurityWarning. (edit) "
	
If using the package python-ndg_httpsclient from EPEL makes these warnings go away so basically the workaround is:

export PYTHONWARNINGS="ignore:Certificate has no, ignore:A true SSLContext object is not available"

Comment 6 Jakub Ruzicka 2016-08-22 11:29:05 UTC
This warning isn't present in RDO with pyOpenSSL-0.15.1-1.el7ost, can we add that (or higher) to OSP?

Comment 7 Robin Cernin 2016-08-29 11:35:02 UTC
If we talk about the pyOpenSSL this package is shipped with the current RHEL Server repositories and [latest] in the pyOpenSSL package is 0.13.1-3.el7. then we need to negotiate on adding this package to current RHEL Server repo. Not the OSP one.

Comment 8 Robin Cernin 2016-09-01 07:59:10 UTC
Issues which blocks pyOpenSSL-0.15.1-1.el7ost being shipped yet with RHEL

Comment 9 Alan Pevec 2017-03-01 00:42:09 UTC
not openstackclient issue


Note You need to log in before you can comment on or make changes to this bug.