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 4 years ago754 views
1 Answer
0

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

answered 4 years ago