{"action":"created","issue":{"url":"https://api.github.com/repos/boto/boto/issues/2836","labels_url":"https://api.github.com/repos/boto/boto/issues/2836/labels{/name}","comments_url":"https://api.github.com/repos/boto/boto/issues/2836/comments","events_url":"https://api.github.com/repos/boto/boto/issues/2836/events","html_url":"https://github.com/boto/boto/issues/2836","id":52662899,"number":2836,"title":"Can't use bucket names with dots","user":{"login":"lewisdiamond","id":1375600,"avatar_url":"https://avatars.githubusercontent.com/u/1375600?v=3","gravatar_id":"","url":"https://api.github.com/users/lewisdiamond","html_url":"https://github.com/lewisdiamond","followers_url":"https://api.github.com/users/lewisdiamond/followers","following_url":"https://api.github.com/users/lewisdiamond/following{/other_user}","gists_url":"https://api.github.com/users/lewisdiamond/gists{/gist_id}","starred_url":"https://api.github.com/users/lewisdiamond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewisdiamond/subscriptions","organizations_url":"https://api.github.com/users/lewisdiamond/orgs","repos_url":"https://api.github.com/users/lewisdiamond/repos","events_url":"https://api.github.com/users/lewisdiamond/events{/privacy}","received_events_url":"https://api.github.com/users/lewisdiamond/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2014-12-22T16:09:45Z","updated_at":"2015-03-13T13:16:20Z","closed_at":null,"body":"Using boto for a s3 bucket named with dots, e.g. my.bucket.s3.amazonaws.com fails:\r\n\r\nssl.CertificateError: hostname 'my.bucket.s3.amazonaws.com' doesn't match either of '*.s3.amazonaws.com', 's3.amazonaws.com'"},"comment":{"url":"https://api.github.com/repos/boto/boto/issues/comments/78965561","html_url":"https://github.com/boto/boto/issues/2836#issuecomment-78965561","issue_url":"https://api.github.com/repos/boto/boto/issues/2836","id":78965561,"user":{"login":"antonagestam","id":218551,"avatar_url":"https://avatars.githubusercontent.com/u/218551?v=3","gravatar_id":"","url":"https://api.github.com/users/antonagestam","html_url":"https://github.com/antonagestam","followers_url":"https://api.github.com/users/antonagestam/followers","following_url":"https://api.github.com/users/antonagestam/following{/other_user}","gists_url":"https://api.github.com/users/antonagestam/gists{/gist_id}","starred_url":"https://api.github.com/users/antonagestam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonagestam/subscriptions","organizations_url":"https://api.github.com/users/antonagestam/orgs","repos_url":"https://api.github.com/users/antonagestam/repos","events_url":"https://api.github.com/users/antonagestam/events{/privacy}","received_events_url":"https://api.github.com/users/antonagestam/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T13:16:20Z","updated_at":"2015-03-13T13:16:20Z","body":"I recently upgraded to Python 2.7.9 and none of the workarounds fixes this for me. With `SubdomainCallingFormat` I get:\r\n```\r\nhostname 'assets.saveoursnow.se.s3.amazonaws.com' doesn't match either of '*.s3.amazonaws.com', 's3.amazonaws.com'\r\n```\r\nWith `OrdinaryCallingFormat`:\r\n```\r\nS3ResponseError: 301 Moved Permanently\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<Error><Code>PermanentRedirect</Code><Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message><Bucket>assets.saveoursnow.se</Bucket><Endpoint>assets.saveoursnow.se.s3.amazonaws.com</Endpoint><RequestId>9A5E05E95ECD6D86</RequestId><HostId>22QLxuCvOZoJitu4SSJLYHaogtvZCJIbhU6zi/OPMH5SPMFYximftYnOCQKV6Hmm</HostId></Error>\r\n```\r\nWith `VHostCallingFormat`:\r\n```\r\nS3ResponseError: 404 Not Found\r\n<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<h1>404 Not Found</h1>\r\n<ul>\r\n<li>Code: NoSuchKey</li>\r\n<li>Message: The specified key does not exist.</li>\r\n<li>Key: index.html</li>\r\n<li>RequestId: 4F43C159F759072C</li>\r\n<li>HostId: 0mQjxxJM+py2xoW25f3a1/L7ApCBeEHaQg96EEjhp4C2v6OkwsfhB383UdotTdhIuynlHKqGkX8=</li>\r\n</ul>\r\n<hr/>\r\n</body>\r\n</html>\r\n```"}}