Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should warn to use HTTP for bucket names with periods. [was: Hostname/IP doesn't match certificate's altnames] #125

Closed
rcs opened this issue Dec 6, 2012 · 1 comment
Labels

Comments

@rcs
Copy link

rcs commented Dec 6, 2012

I have a bucket with periods in it, and node's TLS module isn't happy with it.

http://docs.amazonwebservices.com/AmazonS3/latest/dev/VirtualHosting.html

As mentioned in the doc referenced above:

When using virtual hosted-style buckets with SSL, the SSL wild card certificate only matches buckets that do not contain periods. To work around this, use HTTP or write your own certificate verification logic.

Knox could deal with this by using s3/BUCKET style URLs.

@domenic
Copy link
Contributor

domenic commented Dec 6, 2012

Sorry, Knox explicitly doesn't support using the path-style access. See #44 (comment) for some more details on this.

I'll leave this open so we can give a more informative error message when such bucket names are passed in, saying that you should use secure: false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants