By using AWS re:Post, you agree to the Terms of Use

Static website in S3 not working with HTTPS

0

I have a static website in S3 and it only works with HTTP. http://testing9598.s3-website-eu-west-1.amazonaws.com I can see the index.html content but if I use the HTTPS variant, it won't load. I've basically created the S3 without any policy and just given public access. Then I followed this guide https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-https-requests-s3/ without using AWS Route 53 and used AWS Cloud Front with the option for SSL Certificate as Default CloudFront Certificate (*.cloudfront.net). Can someone guide me on what am I missing?

asked 2 years ago43 views
1 Answer
0

The problem relied in me using the S3 endpoint instead of the CloudFront one.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions