Certified Security - Specialty

Sign Up Free or Log In to participate!

ForceEncryption S3 policy doesnt works with cloudfront endpoint

I tried to use ForceEncryption (aws:SecureTransport:false )  in S3 and the frontend is cloudfront  with CDN. When using S3 url it works but when using CDN(CloudFront) its not  working as expected  able to access request through http when using CDN endpoint

2 Answers

What was the viewer protocol policy of your cloudfront distribution? Was it Redirect HTTP to HTTPS?

When using CloudFront with S3 via HTTP integration (not REST) – it is HTTP only. It is in the documents.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?