Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #88874
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!newsfeed.tele2net.at!news.panservice.it!feed.xsnews.nl!border02.ams.xsnews.nl!feeder04.ams.xsnews.nl!abp001.ams.xsnews.nl!frontend-F10-19.ams.news.kpn.nl |
|---|---|
| From | Cecil Westerhof <Cecil@decebal.nl> |
| Newsgroups | comp.lang.python |
| Subject | Re: Getting rid of |
| Organization | Decebal Computing |
| References | <87k2xh9r0a.fsf@Equus.decebal.nl> <mgef0d$rpd$1@dont-email.me> |
| X-Face | "(y8cC@tg_12{">GF'UXTW]FHI2wMiZNrnf'1EFQ&O#$m:f#O7+7}kR<J%a^F2lh4[N~Yz4 nSp#c+aQo1b5=?HcNEkQ7QzF<])O3X4MDL/AYjys&*mt>,v+Pti8=Vi/Z"g^?b"E |
| X-Homepage | http://www.decebal.nl/ |
| Date | Sun, 12 Apr 2015 21:27:30 +0200 |
| Message-ID | <87fv859mfx.fsf@Equus.decebal.nl> (permalink) |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
| Cancel-Lock | sha1:axTlbAm3ewSMVa+/5bOkHctreao= |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| Lines | 41 |
| NNTP-Posting-Host | 81.207.62.244 |
| X-Trace | 1428866889 news.kpn.nl 21099 81.207.62.244@kpn/81.207.62.244:59805 |
| Xref | csiph.com comp.lang.python:88874 |
Show key headers only | View raw
Op Sunday 12 Apr 2015 20:54 CEST schreef Denis McMahon:
> On Sun, 12 Apr 2015 19:48:53 +0200, Cecil Westerhof wrote:
>
>> What should I do to get rid of the warnings:
>> /usr/lib/python2.7/site-packages/requests-2.6.0-py2.7.egg/requests/
> packages/urllib3/connectionpool.py:769:
>> InsecureRequestWarning: Unverified HTTPS request is being made.
>> Adding certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.org/en/latest/security.html
>> InsecureRequestWarning)
>
> Have you checked that your certificates file exists? You can find
> the location using the python console:
>
> $ python
>
>>>> import certifi
>>>> certifi.where()
>
> '/usr/local/lib/python2.7/dist-packages/certifi/cacert.pem'
>
>>>> exit()
>
> And then check the location from the command line:
>
> $ ls -l /usr/local/lib/python2.7/dist-packages/certifi/cacert.pem
>
> -rw-r--r-- 1 root staff 315159 Apr 12 19:46
> /usr/local/lib/python2.7/dist- packages/certifi/cacert.pem
It is another location, but it does exist and has the same lenght as
yours, so probably it is OK:
-rw-r--r-- 1 root root 315159 Apr 11 20:43 /usr/lib/python2.7/site-packages/certifi/cacert.pem
When you run my script you do not get warnings?
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Getting rid of Cecil Westerhof <Cecil@decebal.nl> - 2015-04-12 19:48 +0200
Re: Getting rid of Denis McMahon <denismfmcmahon@gmail.com> - 2015-04-12 18:54 +0000
Re: Getting rid of Cecil Westerhof <Cecil@decebal.nl> - 2015-04-12 21:27 +0200
Re: Getting rid of Denis McMahon <denismfmcmahon@gmail.com> - 2015-04-12 21:46 +0000
csiph-web