Closed jrudolph closed 4 years ago
Link from the amazon news blog https://aws.amazon.com/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story/
We should probably change the default to false to push users to void dotted bucket names (and clearly mention that in the release notes).
How does the official java client handle this case? What are the defaults there?
https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html mentions
- Bucket names must comply with DNS naming conventions.
- When you use virtual hosted–style buckets with Secure Sockets Layer (SSL), the SSL wildcard certificate only matches buckets that don't contain periods. To work around this, use HTTP or write your own certificate verification logic. We recommend that you do not use periods (".") in bucket names when using virtual hosted–style buckets.
I don't see any workarounds or automatic dns-valid aliasing so I guess users just have to switch bucket?
Most of the Alpakka S3 tests use capital letters in the bucket name, which also does not work with path-style-access. So that is another thing to avoid in bucket names.
With #2099 Alpakka is back to using virtual-host-style as the default bucket access, this restricts the bucket names much more than path-style access. Warnings are issued in the logs if path-style access is configured.
https://forums.aws.amazon.com/ann.jspa?annID=6776
That means that some solution will have to found for the HTTPS issue for buckets with dots in the name by then. Probably nothing should be done for now because AWS will have to figure that out by themselves so that customers are left with the invalid certificates when they are finally forced to use the domain style access.