I have followed all the steps from https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-https-requests-s3/ but my website still cannot be accessed using https.

  1. My certificate was issued to the domain admin.studentqr.com successfully as displayed here My certificate was issued successfully as displayed here

  2. My cloudfront seems to be working fine too enter image description here enter image description here

  3. And I've updated my admin.studentqr.com record in Route 53 to point to the cloudfront enter image description here

  4. My domain is registered under Wix, so I have the CNAME for admin.studentqr.com there pointed to my S3 enter image description here

But still, I can only access http://admin.studentqr.com and not https://admin.studentqr.com

Is there anything that I still miss?

  • A timeout usually points toward a firewall issue. Dec 31 '20 at 6:31
  • Thanks for the reply. But how do I configure firewall for a site hosted in S3?
    – imin
    Dec 31 '20 at 6:58
  • It seems the issue has already been resolved, is it? I see both your link is accessible.
    – 刘宇翔
    Jan 8 at 1:19
  • Yes @刘宇翔 it is. I will update this question with the answer later.
    – imin
    Jan 8 at 7:04

Since my domain is under Wix, I need to update the CNAME for my subdomain to point to the given *.cloudfront.net instead of my S3 bucket. Wait for a few minutes then if you faced the error below when accessing your site

The request could not be satisfied.
Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
Generated by cloudfront (CloudFront)

try using the solution given in https://stackoverflow.com/questions/59693199/route53-and-cloudfront-the-request-could-not-be-satisfied

which basically make sure you add your domain/subdomain to Cloudfront Alternate Domain Names and Check Http and Https in the Cloudfront config

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.