[Python-modules-team] Bug#761620: annoying warning

Erwan David erwan at rail.eu.org
Mon Sep 15 05:56:52 UTC 2014

Package: python-urllib3
Version: 1.9-1
Severity: normal
File: urllib3

I use a script (pycarddav) which uses urllib3 dor connection

Since urllib3 does not do SNI, I cannot activate verification (the
wrong certificate is retrieved)

SInce latest versioneach time it is launched I get followibng message:

/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:732: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html (This warning will only appear once by default.)

My only solutions is to drop all errors from script (which is run
hourly from crontab), thus making me unaware of any other problem.

Id I specify to *not* verify it is because I cannot use it duie to the
limitations of the lib.

So, how can I disable this warning ?

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-proposed-updates
  APT policy: (900, 'testing-proposed-updates'), (900, 'testing'), (800, 'stable'), (500, 'proposed-updates'), (400, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-urllib3 depends on:
ii  python-six  1.7.3-2
pn  python:any  <none>

Versions of packages python-urllib3 recommends:
ii  ca-certificates         20140325
pn  python-ndg-httpsclient  <none>
ii  python-openssl          0.14-1
ii  python-pyasn1           0.1.7-1

python-urllib3 suggests no packages.

-- no debconf information

More information about the Python-modules-team mailing list