Menu

#163 s3cmd signurl generates HTTP url when 'use_https = True'

Enhancement_request
closed-invalid
nobody
None
5
2015-02-11
2015-02-09
No

The 's3cmd signurl s3://BUCKET/KEY EXPIRY_EPOCH' generates a HTTP url instead of a HTTPS url when config have 'use_https = True' set.

Then the config have 'use_https = True', the signurl command should generates a HTTPS url.

Discussion

  • Matt Domsch

    Matt Domsch - 2015-02-09

    I made this change on master branch, but am reconsidering it. Right now, the meaning of "use_https" is for how s3cmd communicates to an S3 server. This change expands that meaning. Furthermore, AWS S3's wildcard cert doesn't work well for HTTPS URLs of the form https://<bucket-in-dns-name-format>/path/to/object. Not that you can't use it, but the user is given a browser warning that the certificate doesn't match.

    I'm inclined to revert the change, and let any tool that consumes the result of the signurl command to simply s/^http/https/ itself if so desired, knowing the limitations of the HTTPS wildcard cert. It doesn't affect the rest of the signed URL.

     
  • Matt Domsch

    Matt Domsch - 2015-02-11
    • status: open --> closed-invalid
     
  • Matt Domsch

    Matt Domsch - 2015-02-11

    reverted.

     

Log in to post a comment.