Do I need a ssl certificate if just pointing my domain to Cloudfront?
Posted
by
hashpipe
on Server Fault
See other posts from Server Fault
or by hashpipe
Published on 2012-10-18T07:02:39Z
Indexed on
2012/10/18
11:03 UTC
Read the original article
Hit count: 315
I have a website running on a domain (e.g site.com). I have an additional domain(e.g sitecdn.com) which basically points to Amazon Cloudfront for delivery. Amazon Cloudfront in turn basically fetches the data from the main domain (site.com). I use this setup primarily to have multiple subdomains of my sitecdn.com to point to assets via the cdn.
The main website has a ssl certificate, and I intend to put all assets served from the cdn as https links only. Something like
<img src="https://img.sitecdn.com/image.jpg" />
I'm a little confused whether I need a ssl for my cdn domain. In cloudfront I can set the setting to allow both https and http traffic.
Do I need a ssl certificate for this ? If yes, then where do I install the ssl certificate, since I don't have a server for sitecdn.com.
© Server Fault or respective owner