Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8817
| Date | 2011-07-05 10:52 +0200 |
|---|---|
| Subject | Secure ssl connection with wrap_socket |
| From | Andrea Di Mario <anddimario@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.625.1309855979.1164.python-list@python.org> (permalink) |
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