I have a website (hosted by Amazon S3) which redirects example.com
to www.example.com
. I am setting up an Amazon CloudFront distribution for this website, and would like the same redirection to work for HTTPS. I believe I therefore need to secure both example.com
and www.example.com
.
I will be using free SSL certificates generated by AWS Certificate Manager. My first instinct is to create one certificate for each of example.com
and www.example.com
. However, are there any advantages to putting both example.com
and www.example.com
(or even example.com
and *.example.com
) on a single certificate?