DNS Issues Amazon S3 and Cloudflare image hosting

Due to cloudflare only letting users place two links wherever you see a $ it means a .

HI there, I am trying to use cloudflare to cache my images that I have stored in an S3 bucket.
So what I have done is created an S3 bucket with the title images.example.org. The URL to access my images is something like: https://images.example.org.s3-ap-southeast-1.amazonaws.com/image-name.

I have set my bucket name to images$example$org.
Now on Cloudflare I have a CNAME set as images with the values set to images$example$org$s3-ap-southeast-1$amazonaws$com. Currently what happens is when I try to load the image with the original URL I get a NET::ERR_CERT_COMMON_NAME_INVALID error. I think this is due to the origin name not matching the cert name. So I tried setting my cloudflare TLS setting to Full from Full strict but it doesn’t change anything. Is there a step I have missed or am I doing something fundamentally wrong?

My main aim was to simply cache the images hosted on S3 with cloudflare. The images do not change once uploaded. I also added a page rule that would set the following settings on images$example$org/* as SSL Full and cache everything.

Without knowing the actual hostname you’re using, we really can’t take a look. But if https://images.example.org.s3-ap-southeast-1.amazonaws.com/image-name works, then make sure your domain isn’t set to SSL Full (Strict). I don’t think a subdomain Page Rule of Full (not strict) will overrule your zone’s SSL setting of SSL Full (Strict).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.