dotcloud/dotcloud-cli — pull request #9 by vinodc (2012-01-22 13:24:15+00:00)
Title: Verify SSL connection to https://rest.dotcloud.com

The SSL connection is currently not verified. This should fix that.

Included cert bundle obtained from mozilla which contains the cert for the equifax CA dotcloud uses for its wildcard cert. This gets installed via setuptools to the data/ directory for dotcloud.client.

Some useful code from python 3.2 is included in dotcloud.packages to help with matching the hostname on the cert to that of the host.

If the verification fails, a message is currently displayed to UI in the format:

SSL Connection to Dotcloud API failed: [Errno 185090050] _ssl.c:340: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib