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 年前檢視次數 662 次
1 個回答
0

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

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南