F5Networks / f5-icontrol-rest-python

Generic python library used by the F5 SDK and other F5 projects to communicate with BIG-IP® via the REST API
http://icontrol.readthedocs.org/en/latest/
Apache License 2.0
36 stars 32 forks source link

SSL verification disabled, without option to enable #133

Closed dosmanak closed 7 years ago

dosmanak commented 7 years ago

On debian stretch I get warnings: /usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning) I found at https://github.com/F5Networks/f5-icontrol-rest-python/blob/1.0/icontrol/authtoken.py#L98 the request is made with verify=False. It would be nice to be able to change this setting through F5 libraries to be able to verify ssl. Anyway thank you for great work to make icontrol available from python.

dosmanak commented 7 years ago

Docs generated with sphinx, but sphinx > 1.5 does not support python 2.6 http://www.sphinx-doc.org/en/stable/changes.html#id20

Drop python 2.6 and 3.3 support

But python3.3 passed.