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?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | auto_ssl_of_cloudfront_urls-984972-5.patch | 984 bytes | jrglasgow |
| #4 | auto_ssl_of_cloudfront_urls-984972-4.patch | 921 bytes | jrglasgow |
Comments
Comment #1
krisrobinson commentedsubscribing
Comment #2
michaelraasch commentedHave 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
Comment #3
j0e commentedit 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.
Comment #4
jrglasgow commentedCloudfront provides for SSL if you use their domain name. Here is a patch that will detect SSL and adjust the URL accordingly.
Comment #5
jrglasgow commentedthat patch didn't quite work as expected, here is one that works slightly better