Re: Python and SSL
- From: "Martin v. Löwis" <martin@xxxxxxxxxxx>
- Date: Sat, 29 Sep 2007 08:56:08 +0200
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.
Er, the whole idea of SSL is that you don't trust the connection.
Please try to understand that OP's question. He got some error,
and for some reason, he concluded that he needs to tell Python
to trust the server certificate (most likely to make the error
go away). I told him that he is likely wrong, and that Python already
trusts his server certificate. I was not proposing any judgment on
whether that's a good thing or not. In fact, I have no idea whether
security was of any concern to the OP.
Regards,
Martin
.
- Follow-Ups:
- Re: Python and SSL
- From: Paul Rubin
- Re: Python and SSL
- References:
- Python and SSL
- From: Johny
- Re: Python and SSL
- From: "Martin v. Löwis"
- Re: Python and SSL
- From: Paul Rubin
- Python and SSL
- Prev by Date: Re: C Source Code Generator For Test Cases
- Next by Date: Re: python 2.5 and 3gb switch
- Previous by thread: Re: Python and SSL
- Next by thread: Re: Python and SSL
- Index(es):
Relevant Pages
|