bad certificate error

jakecjacobson jakecjacobson at gmail.com
Tue Jul 28 09:52:37 EDT 2009


On Jul 28, 9:48 am, Jean-Paul Calderone <exar... at divmod.com> wrote:
> On Tue, 28 Jul 2009 03:35:55 -0700 (PDT), jakecjacobson <jakecjacob... at gmail.com> wrote:
> > [snip]
>
> >"Invalid how?  Self signed certificate? Domain mismatch? Expired
> >certificate?"  It is a server name mismatch.
>
> Python 2.4 is not capable of allowing you to customize this verification
> behavior.  It is hard coded to let OpenSSL make the decision about whether
> to accept the certificate or not.
>
> Either M2Crypto or pyOpenSSL will let you ignore verification errors.  The
> new ssl module in Python 2.6 may also as well.
>
> Jean-Paul

Thanks, I will look into these suggestions.



More information about the Python-list mailing list