Re: Secure ssl connection with wrap_socket

2011-07-06 Thread Jean-Paul Calderone
On Jul 6, 4:44 am, AndDM wrote: > On Jul 5, 4:08 pm, Jean-Paul Calderone > wrote: > > > > > On Jul 5, 4:52 am, Andrea Di Mario wrote: > > > > 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.

Re: Secure ssl connection with wrap_socket

2011-07-06 Thread AndDM
On Jul 5, 4:08 pm, Jean-Paul Calderone wrote: > On Jul 5, 4:52 am, Andrea Di Mario wrote: > > > 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

Re: Secure ssl connection with wrap_socket

2011-07-05 Thread Jean-Paul Calderone
On Jul 5, 4:52 am, Andrea Di Mario wrote: > 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_REQU

Secure ssl connection with wrap_socket

2011-07-05 Thread Andrea Di Mario
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: