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?

已提问 3 年前661 查看次数
1 回答
0

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

已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则