On Tue, 28 Jul 2009 21:44:05 +0200, Piet van Oostrum wrote:

>>j>            # cert_file is a PEM formatted certificate chain file.
>>j>            connection = httplib.HTTPSConnection(host, int(port), key_file,
>>j> cert_file)
> 
> What happens if you set cert_file to None? This would indicate that you
> are not interested in the server's certificate.
> 
> By the way, is the cert_file you supply the certificate of the CA that
> signed the server's cert (in contrast to yours)?

The cert_file parameter is the client certificate. You must provide
either both key_file and cert_file, or neither.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to