Re: Python and SSL



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
.



Relevant Pages

  • Re: Python and SSL
    ... and for some reason, he concluded that he needs to tell Python ... to trust the server certificate (most likely to make the error ... I told him that he is likely wrong, and that Python already ...
    (comp.lang.python)
  • Re: Python/Wx dot net
    ... > buffer over runs. ... Of course, Python is written in C, so if there was a bug in the ... say, "if you trust Microsoft, or if you trust Sun, or if you trust the ...
    (comp.lang.python)
  • Re: Does Python really follow its philosophy of "Readability counts"?
    ... accidental usage of an internal variable. ... Trust would be replaced by ... My attitude when programming in Python is to accept that if the caller ...
    (comp.lang.python)
  • Re: Why Cant Public Wi-Fi Be Made Secure?
    ... Never clutch the divisions alone, prescribe them rightfully. ... She can preserve once, rush silently, then trust in connection with the ...
    (sci.crypt)
  • RE: USB Wireless Rechargeable Mouse
    ... The Trust mouse had its own power supply adapter as well ... but I thought USB supplied the 'juice' and connection? ... >> remeber, I am no computer geek so idiot proof help would be appreciated, ...
    (microsoft.public.windowsxp.help_and_support)