https secure parameter not working on Rails 4 image_tag or cl_image_tag
I want to force cloudinary delivery over https on Rails 4 application. Setting secure: true in a cloudinary.yml or config.secure = true in a cloudinary.rb downloads the asset under http. I have tried both image_tag and cl_image_tag without success. Any ideas?
-
Running into this problem too with straight AJAX. When referencing an image with http it works, but when doing so with https, it doesn't work because Cloudinary's SSL certificate is invalid. Could Cloudinary please fix it's SSL cert?
e.g.
https://a4.res.cloudinary.com/peerspace-inc/image/upload/v1/prod_images/api/v1/images/6d1a59fbf97d4e708c87487383c5cccc <-- broke because ERR_INSECURE_RESPONSE since Cloudinary's wildcard SSL cert isn't sufficient for some reason.
0 -
UPDATE (Feb 2015): Multiple sub-domain URL convention was changed to res-X.cloudinary.com (res-1, res-2, res-3, res-4, res-5) instead of the a1-a5 prefix, which is still supported for backward compatiblity.
In addition, HTTPS sub-domain support was added using the new res-X prefix convention. Cloudinary's client libraries were updated to automatically build HTTP and HTTPS URLs of the updated convention. Sample URLs:
http://res-1.cloudinary.com/demo/image/upload/sample.jpg
http://res-2.cloudinary.com/demo/image/upload/sample.jpg
https://res-1.cloudinary.com/demo/image/upload/sample.jpg
https://res-5.cloudinary.com/demo/image/upload/sample.jpg0
Post is closed for comments.
Comments
2 comments