cniles/axe

Buckets with periods (.) in the name cause SSL error

Opened this issue · 1 comments

The S3 API utilizes a sub-domain to specify the bucket name for requests. The addition of a period (.) in the bucket name results in an incorrect sub-domain being formed. This causes an SSL error.

The CLI obviously has some workaround for this issue; need to figure out what that is and convey that solution into axe.

https://aws.amazon.com/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story/

AWS is working on a solution to this problem. Disabling certificate verification (i.e. curl -k) is not an option, and other hackery suggested in AWS forums (like custom trust management, i.e. verifying the wildcard domain instead of the full domain) does not appear to be available with cURL or Emacs' url.

In the meantime, one option could be to switch over to the deprecated path-style API syntax but I won't be implementing that unless there is a want.