Python and SSL

"Martin v. Löwis" martin at v.loewis.de
Fri Sep 28 18:21:47 EDT 2007


> 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.

I don't think so - what the SSL module does is already fine for you.

> But how can I tell my Python program to trust my SSL certificate?

Why do you want to tell it that? The SSL module will trust *any*
server certificate, no need to tell it explicitly which ones to
trust.

> When I tried  before I received the error 503

That must be an independent error.

Regards,
Martin



More information about the Python-list mailing list