Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Flag to not use HTTPS #1350

theRealDrumBum opened this Issue · 0 comments

1 participant


I am in an ec2 instance where I cannot get SSL support working for python. The quick work around was to turn off certificate verification. Unfortunately, everything is still using HTTPs. Please see below: in get_instances_by_tag
30 conn = boto.connect_ec2(aws_key, aws_secret, validate_certs=False)
31 machines = conn.get_all_instances(filters={"tag-key" : tag})
32 # Need to transform the result set into something a bit more useful
python2.7/site-packages/boto/ec2/ in get_all_instances
470 return self.get_list('DescribeInstances', params,
471 [('item', Reservation)], verb='POST')
python2.7/site-packages/boto/ in get_list
1027 parent = self
1028 response = self.make_request(action, params, path, verb)
1029 body =
python2.7/site-packages/boto/ in make_request
973 http_request.params['Version'] = self.APIVersion
974 return self._mexe(http_request)
python2.7/site-packages/boto/ in _mexe
821 i = 0
822 connection = self.get_http_connection(, self.is_secure)
823 while i <= num_retries:
python2.7/site-packages/boto/ in get_http_connection
676 else:
677 return self.new_http_connection(host, is_secure)
python2.7/site-packages/boto/ in new_http_connection
696 else:
697 connection = httplib.HTTPSConnection(host,
698 **self.http_connection_kwargs)
exceptions.AttributeError: 'module' object has no attribute 'HTTPSConnection'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.