Python and SSL

Johny python at hope.cz
Mon Oct 1 03:42:06 EDT 2007


On Sep 28, 11:13 pm, Heikki Toivonen <hei... at osafoundation.org> wrote:
> Johny wrote:
> > I need to use Python with SSL comunication betweeen servers.
> > (I use hhtplib but I think urllib2 can also be used )
> >  I think I need to use SSL root certificate and tell  a program to
> > trust this certificate.
>
> You can't do secure SSL with the builtin SSL support, you need to use a
> third party module. There are a few available, including M2Crypto, TLS
> Lite, pyOpenSSL and pyOpenSSL-extended. Since I am the maintainer

Thank you all for help
I probably put my question in  a wrong way.
So again:
For the purpose of the  application debugging I would like to know
how  to add a new
certification authority to Python( so that  my Python program will
accept that certificate).
By using my Python program I am  attempting to trust a certificate
signed by a certification authority that Python doesn't trust and that
causes the error.
Thanks for help.
L.





More information about the Python-list mailing list