-
-
Notifications
You must be signed in to change notification settings - Fork 908
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
"signurl" is ignoring "use_https" and other configuration settings #666
Comments
The SSL certificates offered by AWS S3 (and other public cloud providers) I'm open to a better solution, but simply honoring use_https (which is Thanks, On Thu, Nov 19, 2015 at 11:43 PM, jamshid [email protected] wrote:
|
Would a configuration option be acceptable solution here? For example |
I just noticed #551 which is similar issue, and it mentions |
Whoa just noticed this issue number 🤘. |
With the recent 2.0 changes around handling of certificates, maybe this request can be reconsidered? Ideally s3cmd would simply adhere to the style specified by
|
Interesting topic. Your suggestions are smart for handling the general case
but I still think that the auto magic will be problematic with the variety
of targets.
so, the best solution would be something based on public_url.
In fact, for that, we can probably use the "website_endpoint"
configuration that is barely used.
The only question is "https" or not by default. I would like to say yes,
but thinking more that it would be better in "http" for basic users.
Le 5 juil. 2017 9:34 PM, "jamshid" <[email protected]> a écrit :
… With the recent 2.0 changes around handling of certificates, maybe this
request can be reconsidered?
Ideally s3cmd would simply adhere to the style specified by host_bucket
and let use_https determine the protocol of the url it outputs.
http access is deprecated, no one will want to give out a non-https url.
Generating "bucket in path" style url *avoids* certificate problems.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#666 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABAUpO5OgbdPOsPkwPwfApjdlxAaAfN4ks5sK-VNgaJpZM4GmIze>
.
|
Hello, |
This definitely should be configurable. |
Seems the url generated by
signurl
should use the endpoint style described in~/.s3cfg
. In particular:https
ifuse_https = True
host_bucket == host_base
Expected:
Actual requests work fine: s3cmd uses
https://storage.example.com
. I'm using an S3-compatible service, here's my~/.s3cfg
:The text was updated successfully, but these errors were encountered: