All threads / How to add ssl to the CDN of AWS

Ask A Question

Notifications

You’re not receiving notifications from this thread.

How to add ssl to the CDN of AWS

Francisco Quinones asked in General

Hi so I have a rails app with ssl from godadddy with a wildcard for subdomain. Now I move my assets to use CDN, but I need to use the ssl so all my subdomain use the assets with out getting CORS policy errors.

If I'm correct you can a get ssl for cloudfront here. But it comes at a hefty price tag of $600.

The other option is to simply use the cloudfront url for this which by default goes over https.

I got it working. I need it to use ssl with a wildcard for subdomain for the assets. Now im using cdn.mysite.com with dns and works great.

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 38,558+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.