added the ca_file parameter to x509 for compatibility with the Perl version
Travis does not support Python 2.5 anymore