Re:Do you check HTTPS certificates in your API clients?
by natrius on Sunday July 29, 2012 @07:28PM
(#4310136)
If you're using Python for HTTP requests, you should be using Requests, which checks SSL certificates by default (as far as I can tell).
http://docs.python.org/library/ssl.html#functions-constants-...
http://docs.python.org/library/ssl.html#ssl-certificates
However, this isn't exposed in the higher-level httplib.HTTPSConnection class for some reason. I'd bet it's not too hard to write your own subclass to handle it though.