I tried using a https rather than http when setting up the imagecache preset and noticed it didn't work. Any quick method to serve https based urls?

Comments

krisrobinson’s picture

subscribing

michaelraasch’s picture

Have you tried accessing the file directly in the browser by replacing the http:// with https:// ? Do you see the file in your bucket at all? to the best of my knowledge the protocol doesnt have anything to do with the upload to S3

j0e’s picture

it allows you to use https via the browser request when accessing a file in a cloudfront distribution. if you set a cname to a server that doesn't have ssl cert it won't work. but going straight those wacky cloudfront urls works fine with https, since cloudfront is verified by digicert. so it would work with any file in s3 that allows public downloads.

jrglasgow’s picture

Status: Active » Needs review
StatusFileSize
new921 bytes

Cloudfront provides for SSL if you use their domain name. Here is a patch that will detect SSL and adjust the URL accordingly.

jrglasgow’s picture

StatusFileSize
new984 bytes

that patch didn't quite work as expected, here is one that works slightly better