Comment 2 for bug 1827639

Revision history for this message
Daniel Badea (daniel.badea) wrote :

This warning was explicitly added in python-cephclient ( https://opendev.org/starlingx/integ/src/branch/master/ceph/python-cephclient/python-cephclient/cephclient/client.py#L79 ) because it allows making unverified HTTPS requests in the entire application that's using this library by calling:

  urllib3.disable_warnings()

The proper way to fix this is to remove disable_warnings() from python-cephclient and properly load/trust ceph-mgr certificate before making any REST API request.