Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8817
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <anddimario@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.107 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.79; '*S*': 0.00; 'python': 0.08; 'default)': 0.09; 'error:': 0.12; 'received:209.85.214.174': 0.13; 'received :mail-iw0-f174.google.com': 0.13; 'mode.': 0.16; "doesn't": 0.22; 'thanks.': 0.26; "i'm": 0.27; '(the': 0.28; 'received:209.85.214': 0.28; 'message-id:@mail.gmail.com': 0.28; 'url:dev': 0.30; 'url:library': 0.31; 'hi,': 0.31; "i've": 0.33; 'to:addr:python- list': 0.34; 'url:python': 0.37; 'option': 0.37; 'some': 0.37; 'but': 0.37; 'could': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'url:org': 0.38; 'user': 0.38; 'url:docs': 0.39; 'subject:with': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'header:Reply-To:1': 0.71; 'reply- to:no real name:2**0': 0.72; 'regards.': 0.76; 'andrea': 0.84; 'service?': 0.84; 'subject:Secure': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=R3g8Ry7MdHWRjASZk8qxQZ2D0DCmuHZvS2xBpyFvbiY=; b=KTxrBWnELZ8mYzZK7MTzG9VpHoVRbQbzcN7Xs0lbv6a4VXYXArASrx9KR1PICLKHEt LOAbb9kbC+578ZFm41ritQJs/hsKTzjjunlmM0cqyLQCT0Q9kl8l6HedM/xqXrO2jzt8 YHUA/VJuBkjaSHDJJnA48wIK/Pc+AnD5usCxU= |
| MIME-Version | 1.0 |
| Date | Tue, 5 Jul 2011 10:52:57 +0200 |
| Subject | Secure ssl connection with wrap_socket |
| From | Andrea Di Mario <anddimario@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | andrea.dimario@speakage.com |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.625.1309855979.1164.python-list@python.org> (permalink) |
| Lines | 18 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1309855979 news.xs4all.nl 21762 [2001:888:2000:d::a6]:45979 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:8817 |
Show key headers only | View raw
Hi, I'm a new python user and I'm writing a small web service with ssl. I want use a self-signed certificate like in wiki: http://docs.python.org/dev/library/ssl.html#certificates I've used wrap_socket, but if i try to use cert_reqs=ssl.CERT_REQUIRED, it doesn't work with error: urllib2.URLError: <urlopen error _ssl.c:326: No root certificates specified for verification of other-side certificates.> It works only with CERT_NONE (the default) but with this option i could access to the service in insicure mode. Have you some suggestions for my service? Thanks. Regards. -- Andrea Di Mario
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Secure ssl connection with wrap_socket Andrea Di Mario <anddimario@gmail.com> - 2011-07-05 10:52 +0200
Re: Secure ssl connection with wrap_socket Jean-Paul Calderone <calderone.jeanpaul@gmail.com> - 2011-07-05 07:08 -0700
Re: Secure ssl connection with wrap_socket AndDM <anddimario@gmail.com> - 2011-07-06 01:44 -0700
Re: Secure ssl connection with wrap_socket Jean-Paul Calderone <calderone.jeanpaul@gmail.com> - 2011-07-06 06:53 -0700
csiph-web