Your message dated Tue, 18 Nov 2014 23:19:21 +0100 with message-id <8638051.hUVBy8T5ci@mornie> and subject line has caused the Debian Bug report #761620, regarding annoying warning to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 761620: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761620 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---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.) InsecureRequestWarning) 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
--- End Message ---
--- Begin Message ---Package: python-urllib3 Version: 1.9-1 As said previously, urllib3 supports SNI (with python-ndg-httpsclient, python- openssl and python-pyans1 installed): >>> import urllib3 >>> from bs4 import BeautifulSoup >>> http = urllib3.PoolManager() >>> r = http.request('GET', 'https://sni.velox.ch') >>> soup = BeautifulSoup(r.data) >>> soup.p.text u'Great! Your client \nsent the following TLS server name indication extension\n(RFC 6066)\nin its ClientHello (negotiated protocol: TLSv1.2, cipher suite: ECDHE-RSA-AES256-GCM-SHA384):' So, I'm closing this. Cheers, -- Daniele Tricoli 'Eriol' http://mornie.org
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

