• Resolved deesebs

    (@deesebs)


    Is there a way to force HTTPS image responses from the Amazon API?
    This way we can host images from the API on https:// webpages without breaking them. Currently the API returns HTTP.

    I tried modifying awsRequest.php as follows:
    $request = “https://”.$host.$uri.”?”.$canonicalized_query.”&Signature=”.$signature;

    My hope was by sending a secure request we would get secure responses, but no luck with that.

    I made a donation for ongoing development of this great plugin.

    https://ww.wp.xz.cn/plugins/amazon-link/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author paulstuttard

    (@paulstuttard)

    Hi,

    I can look into it, do you mean just change the current image URL from:

    http://ecx.images-amazon.com/images/I/518FFDVWNQL.SY115.jpg

    to:

    https://ecx.images-amazon.com/images/I/518FFDVWNQL.SY115.jpg

    When I tried to display the second URL in the browser I got warning about the link not being properly certificated. Might cause issues on your site?

    Paul

    Thread Starter deesebs

    (@deesebs)

    Oh good point, their certificate isn’t valid. I guess there is no reason to do this then.

    So for any others looking at this thread in the future — as of now the only solution is to host the images yourself and use your own ssl certificate where they are hosted.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HTTPS / SSL’ is closed to new replies.