Heroku's docs on this are now the definitive source. I just followed their instructions to update my apps and they're much better than they were when I made this gist. Here's the previous revision if you need still need it. Good luck!
-
-
Save cjolly/3165095 to your computer and use it in GitHub Desktop.
@agilous thanks for the update. Yeah, the heroku docs have gotten considerably better since I wrote this up last year. I should update this to reflect that.
Hello guys. I just got all this to work but realized the heroku docs may want to cite to include the bundle.pem file (the command @agilous ran above).
This is where I was looking (where it mentions "heroku certs:add server.crt server.key") https://devcenter.heroku.com/articles/ssl-endpoint
Thanks,
Anyone visiting after googling for this after #heartbleed - Heroku's article on this is finally pretty good. I suggest following their instructions here:
https://devcenter.heroku.com/articles/ssl-endpoint
Godaddy now has an nginx option as well. I'll update this gist to reflect all this after my sites are locked back down :)
Thanks for this although I received an "Invalid Public Key Certificate" error from Heroku when I followed these steps. I followed the step for creating the PEM file here to create the bundle.pem file given in Heroku's docs here.
cat server.key server.crt gd_intermediate.crt > bundle.pem heroku certs:add server.crt bundle.pem server.key