title: Amazon EC2/S3 "self-signed certificate" SSL failure when using ec2-upload-bundle
body: <p>Has anybody else been seeing this error, when trying to upload an AMI bundle to S3?</p>
  
  <pre><code>Error talking to S3: Curl.Error(60): SSL certificate problem: self signed certificate in certificate chain
  </code></pre>
  
  <p>Just started happening yesterday, was working fine on Friday. There are some similar problems reported when using the PHP toolkit - </p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/11587420/can-aws-sdk-for-php-work-without-disabling-ssl-verification-on-osx">Can AWS SDK for PHP work without disabling SSL verification on osx?</a></li>
  <li><a href="https://forums.aws.amazon.com/thread.jspa?threadID=86186" rel="nofollow noreferrer">https://forums.aws.amazon.com/thread.jspa?threadID=86186</a></li>
  <li><a href="https://forums.aws.amazon.com/thread.jspa?threadID=69108" rel="nofollow noreferrer">https://forums.aws.amazon.com/thread.jspa?threadID=69108</a></li>
  </ul>
  
  <p>But I don't think they're exactly the same as my problem. I'm not using dots in my bucket name...</p>
  
  <p>More traceback:</p>
  
  <pre><code>Created image.part.174
  Created image.part.175
  Generating digests for each part...
  Digests generated.
  Unable to read instance meta-data for ramdisk-id
  Unable to read instance meta-data for product-codes
  Creating bundle manifest...
  ec2-bundle-vol complete.
  ERROR: Error talking to S3: Curl.Error(60): SSL certificate problem: self signed certificate in certificate chain
  </code></pre>
  
  <p>Is there some kind of environment variable I could use to (temporarily) switch of SSL verification for curl before runnning <code>ec2-upload-bundle</code> maybe?</p>