Closed sanyer closed 8 years ago
Try using the following syntax:
https://s3.amazonaws.com/<bucket>/<path>
if bucket is in US standard region (us-east-1)https://s3-<region>.amazonaws.com/<bucket>/<path>
otherwise@mbrossard oops, I've missed notification about your comment somehow. Will test suggested syntax today, thanks.
Nice, https://s3-<region>.amazonaws.com/<bucket>/<path>
worked for me nicely. Wow, I lost a lot of time on this issue, including reading AWS docs, but didn't really notice path-style URL possibility for S3 buckets. Thanks for pointing that out ;-)
So, this issue could be avoided just by using path-style URL. Could be added to description, though.
Using a bucket which name includes dots raises Certificate Error:
Same happened for boto some time ago: https://github.com/boto/boto/issues/2836 Simplest way to fix it is monkey patching ssl:
or
I've made a pull request here https://github.com/seporaitis/yum-s3-iam/pull/46