title: botocore.exceptions.SSLError: SSL validation failed
body: <h1>Meta</h1>
  
  <p>Python: 2.7.5 <br/>
  Pip : pip 18.1 from /usr/lib/python2.7/site-packages/pip (python 2.7) <br/>
  AWS CLI : aws-cli/1.16.104 Python/2.7.5 Linux/3.10.0-862.3.3.el7.x86_64 botocore/1.12.94 <br/>
  Boto3 : 1.9.94 <br/>
  Centos : CentOS Linux release 7.5.1804 (Core) <br/></p>
  
  <h1>My script</h1>
  
  <pre><code>import boto3
  from botocore.exceptions import ClientError
  ec2 = boto3.client('ec2')
  try:
      response = ec2.describe_instances()
      print(response)
  except ClientError as e:
      print(e)
  </code></pre>
  
  <p>When I run my script, I get this exception :</p>
  
  <ul>
  <li>botocore.exceptions.SSLError: SSL validation failed for <a href="https://ec2.region.amazonaws.com/" rel="nofollow noreferrer">https://ec2.region.amazonaws.com/</a> hostname 'ec2.region.amazonaws.com' doesn't match either of '*.com.com', 'com.com'</li>
  </ul>
  
  <p>Please any help would be appreciated!
  Thanks!</p>