cloudflare / Stout

A reliable static website deploy tool
MIT License
752 stars 29 forks source link

SSL warning in Safari #8

Closed reverie closed 9 years ago

reverie commented 9 years ago

I used Stout using the default settings, and on Safari I get a warning about the SSL certificate. Is this an issue with the CloudFront configuration?

zackbloom commented 9 years ago

Yes. The one thing Stout doesn't configure for you is the CloudFront SSL. If you do wish to use SSL, you'll have to upload your certificate to Amazon, and select that certificate in the settings for your CloudFront distribution.

I'll add a note to the readme.

reverie commented 9 years ago

Maybe there should be an option to not use CloudFront? This would also fix a probably-related issue where my root domain bucket gives a CloudFront error on Safari. (I have it configured to redirect to the www. bucket).

Stout is very useful for deploying to S3, even if I don't want to figure out how to use CF.

zackbloom commented 9 years ago

I don't believe SSL will work at all serving directly from S3. I personally would recommend using a CDN of some sort, as S3 can often be rather slow. If you wish though, you could certainly point your DNS directly at S3, but again, that won't make your SSL work.

reverie commented 9 years ago

Even HTTP is broken in Safari with the root domain. Anyway, people might want to use alternative CDNs like CloudFlare. Thanks for Stout either way. :) Right now I'm fine with S3's slowness.

Sikandarkhan commented 7 years ago

Yeah. S3 is pretty slow. I am curious to configure and use cloudFront . Any help would be appreciated .