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.
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.