aws-samples/amazon-cloudfront-secure-static-site

SSL Certificates for securing website

Closed this issue · 2 comments

Do we have the SSL Certificates integrated by default so that all our traffic is navigated from www.example.com to https://example.com by default ?

Yes an AWS certificate is automatically created and the CloudFront distribution is configured to use it and redirect traffics from http to https.

What it won’t do is redirect traffic from the sub domain (www in your question) to the apex. You will have to manually add an alias to CloudFront and add an entry to Route 53 yourself if you want to do that.

Thanks @thomasturrell for the answer.