1) Python 2.5 doesn't have the ssl module installed (2.6 does) -- so you need to install it from PyPI. The current version for ssl is 1.15.
2) By default, SSL cert validation is disabled in libcloud.
If you open a connection to a provider you get:
To get past the warning, you need to enable SSL cert validation and also provide a path to a file containing common CA certificates (if you don't have that file, you can download cacert.pem from http://curl.haxx.se/docs/caextract.html for example). Add these lines before opening a connection:
import libcloud.security libcloud.security.VERIFY_SSL_CERT = True libcloud.security.CA_CERTS_PATH.append("/path/to/cacert.pem")As an aside, the libcloud wiki page on SSL is very helpful and I used it to figure out what to do.