{"action":"created","issue":{"url":"https://api.github.com/repos/tarbell-project/tarbell/issues/306","labels_url":"https://api.github.com/repos/tarbell-project/tarbell/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/tarbell-project/tarbell/issues/306/comments","events_url":"https://api.github.com/repos/tarbell-project/tarbell/issues/306/events","html_url":"https://github.com/tarbell-project/tarbell/issues/306","id":67231359,"number":306,"title":"Python 2.7.9 update, S3 bucket names with dots causes ssl.CertificateError","user":{"login":"jheasly","id":96007,"avatar_url":"https://avatars.githubusercontent.com/u/96007?v=3","gravatar_id":"","url":"https://api.github.com/users/jheasly","html_url":"https://github.com/jheasly","followers_url":"https://api.github.com/users/jheasly/followers","following_url":"https://api.github.com/users/jheasly/following{/other_user}","gists_url":"https://api.github.com/users/jheasly/gists{/gist_id}","starred_url":"https://api.github.com/users/jheasly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jheasly/subscriptions","organizations_url":"https://api.github.com/users/jheasly/orgs","repos_url":"https://api.github.com/users/jheasly/repos","events_url":"https://api.github.com/users/jheasly/events{/privacy}","received_events_url":"https://api.github.com/users/jheasly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-08T22:12:22Z","updated_at":"2015-04-09T21:08:22Z","closed_at":null,"body":"As has been [noted elsewhere](https://github.com/stitchfix/splits/issues/9), \"Python introduced strict certificate checking in version 2.7.9 (see [PEP 476](https://www.python.org/dev/peps/pep-0476/)) that causes buckets with dots in their names to fail on load\":\r\n\r\n```bash\r\nssl.CertificateError: hostname 'my.bucket.com.s3.amazonaws.com' doesn't match either of '*.s3.amazonaws.com', 's3.amazonaws.com'\r\n```\r\nOne fix suggested at https://github.com/boto/boto/issues/2836 didn't work for me:\r\n```python\r\n ...  \r\nconnection = S3Connection(access_key_id, secret_access_key, calling_format=OrdinaryCallingFormat())\r\n ...  \r\n```\r\n... returns:\r\n```bash\r\nS3ResponseError: 301 Moved Permanently\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/tarbell-project/tarbell/issues/comments/91356561","html_url":"https://github.com/tarbell-project/tarbell/issues/306#issuecomment-91356561","issue_url":"https://api.github.com/repos/tarbell-project/tarbell/issues/306","id":91356561,"user":{"login":"jheasly","id":96007,"avatar_url":"https://avatars.githubusercontent.com/u/96007?v=3","gravatar_id":"","url":"https://api.github.com/users/jheasly","html_url":"https://github.com/jheasly","followers_url":"https://api.github.com/users/jheasly/followers","following_url":"https://api.github.com/users/jheasly/following{/other_user}","gists_url":"https://api.github.com/users/jheasly/gists{/gist_id}","starred_url":"https://api.github.com/users/jheasly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jheasly/subscriptions","organizations_url":"https://api.github.com/users/jheasly/orgs","repos_url":"https://api.github.com/users/jheasly/repos","events_url":"https://api.github.com/users/jheasly/events{/privacy}","received_events_url":"https://api.github.com/users/jheasly/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T21:08:22Z","updated_at":"2015-04-09T21:08:22Z","body":"Thanks! Thank goodness for [the patch](https://github.com/boto/boto/pull/2857). Pretty much saved my bacon.  \r\nI think this'll be an issue for OS X'ers with homebrewed Python. (I don't even remember upgrading, but apparently must've; `brew`'s how I ended up with the 2.7.9 Python.)"}}