How to setup SSL with a rails app
Hey Francisco,
Heroku has a free beta SSL offering that you can use (rather than the normal $20/mo to use SSL): https://devcenter.heroku.com/articles/ssl-beta
I believe you just need to use the command line to upload your certs and you should be good to go!
I chris having a little problem. So I was following the Docs.
- got the CSR from heroku
- I got a godaddy cert ssl
- Update the DNS (heres where im having problem.)
Standard Wildcard SSL from godaddy
CSR files
server.csr
.server.key
server.pass.key
heroku certs:info
Fetching SSL certificate hypsilophodon-49522 info for myapp done
Certificate details:
Common Name(s): *.myapp.com
myapp.com
Expires At: ...
Issuer: ...Go Daddy Secure Certificate Authority - G2
Starts At: ...
Subject: /OU=Domain Control Validated/CN=*.myapp.com
SSL certificate is self signed.
heroku certs
Name Common Name(s) Expires Trusted Type
....-49522 *.myapp.com, myapp.com ... False SNI
On my DNS Management
CNAME * myapp.herokuapp.com
CNAME www hbquality.herokuapp.com
Your certificate *.myapp.com expires on ...
Ensure you've updated your DNS to reflect the new target name. See domain table below.
heroku panel settin
Domain Name DNS Target
*.myapp.com wildcard.myapp.com.herokudns.com
myapp.com myapp.com.herokudns.com
www.myapp.com www.myapp.com.herokudns.com
I think im doing some setup wrong.
UPDATE:
Godaddy Cname
www.myapp.com.herokudns.com
wildcard.myapp.com.herokudns.com
I'm not an expert on this stuff and I've only used their legacy SSL setup, so unfortunately I don't know that I have any advice for you on this one. Hopefully someone else can weigh in here for you or you can check with Heroku support on it!