{"action":"created","issue":{"url":"https://api.github.com/repos/cloudyr/aws.s3/issues/23","labels_url":"https://api.github.com/repos/cloudyr/aws.s3/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/cloudyr/aws.s3/issues/23/comments","events_url":"https://api.github.com/repos/cloudyr/aws.s3/issues/23/events","html_url":"https://github.com/cloudyr/aws.s3/issues/23","id":97811088,"number":23,"title":"curl ssl error when using bucket named with periods?","user":{"login":"cboettig","id":222586,"avatar_url":"https://avatars.githubusercontent.com/u/222586?v=3","gravatar_id":"","url":"https://api.github.com/users/cboettig","html_url":"https://github.com/cboettig","followers_url":"https://api.github.com/users/cboettig/followers","following_url":"https://api.github.com/users/cboettig/following{/other_user}","gists_url":"https://api.github.com/users/cboettig/gists{/gist_id}","starred_url":"https://api.github.com/users/cboettig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboettig/subscriptions","organizations_url":"https://api.github.com/users/cboettig/orgs","repos_url":"https://api.github.com/users/cboettig/repos","events_url":"https://api.github.com/users/cboettig/events{/privacy}","received_events_url":"https://api.github.com/users/cboettig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-28T21:59:24Z","updated_at":"2015-07-28T22:42:19Z","closed_at":null,"body":"As far I can tell, I have two identically configured buckets, one named `drat` and one named `packages.ropensci.org`.  I can get / copy files to either one using the AWS CLI.  When I try to get or push files to `drat` via `aws.s3`, things are rosy.  When I try `packages.ropensci.org`, I get the error: \r\n\r\n```\r\n x = getobject(\"packages.ropensci.org\", \"index.html\", region=\"us-west-2\", key = Sys.getenv(\"AWS_ACCESS_KEY_ID\"), secret = Sys.getenv(\"AWS_SECRET_ACCESS_KEY\"))\r\nError in curl::curl_fetch_memory(url, handle = handle) : \r\n  SSL peer certificate or SSH remote key was not OK\r\n\r\nEnter a frame number, or 0 to exit   \r\n\r\n1: getobject(\"packages.ropensci.org\", \"index.html\", region = \"us-west-2\", key \r\n2: s3HTTP(verb = \"GET\", url = paste0(\"https://\", bucket, \".s3.amazonaws.com/\",\r\n3: httr::GET(url, H, ...)\r\n4: request_perform(req, hu$handle$handle)\r\n5: request_fetch(req$output, req$url, handle)\r\n6: request_fetch.write_memory(req$output, req$url, handle)\r\n7: curl::curl_fetch_memory(url, handle = handle)\r\n\r\n```\r\n\r\nI'm stumped, no idea what is different.  I took a quick look at the headers and url in the debugger but nothing stands out to me there either.  (If you wanna take a look at this exact example I can email you some credentials)"},"comment":{"url":"https://api.github.com/repos/cloudyr/aws.s3/issues/comments/125773211","html_url":"https://github.com/cloudyr/aws.s3/issues/23#issuecomment-125773211","issue_url":"https://api.github.com/repos/cloudyr/aws.s3/issues/23","id":125773211,"user":{"login":"almartin82","id":782135,"avatar_url":"https://avatars.githubusercontent.com/u/782135?v=3","gravatar_id":"","url":"https://api.github.com/users/almartin82","html_url":"https://github.com/almartin82","followers_url":"https://api.github.com/users/almartin82/followers","following_url":"https://api.github.com/users/almartin82/following{/other_user}","gists_url":"https://api.github.com/users/almartin82/gists{/gist_id}","starred_url":"https://api.github.com/users/almartin82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almartin82/subscriptions","organizations_url":"https://api.github.com/users/almartin82/orgs","repos_url":"https://api.github.com/users/almartin82/repos","events_url":"https://api.github.com/users/almartin82/events{/privacy}","received_events_url":"https://api.github.com/users/almartin82/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T22:42:19Z","updated_at":"2015-07-28T22:42:19Z","body":"this one appears to copy the ACL?\nhttps://github.com/cobbzilla/s3s3mirror\n\nOn Tue, Jul 28, 2015 at 6:39 PM, Carl Boettiger <notifications@github.com>\nwrote:\n\n> right, but even that is just copying the files over to a new bucket that\n> you have to create (and set permissions for) first.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/cloudyr/aws.s3/issues/23#issuecomment-125772709>.\n>\n"}}