Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to use Heroku's SSL Endpoint with an SSL certificate purchased from GoDaddy

[UPDATED FOR #HEARTBLEED]

How to use Heroku's SSL Endpoint with an SSL certificate purchased from GoDaddy.

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!

@agilous

This comment has been minimized.

Copy link

agilous commented Aug 15, 2013

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
@cjolly

This comment has been minimized.

Copy link
Owner Author

cjolly commented Aug 27, 2013

@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.

@seenickcode

This comment has been minimized.

Copy link

seenickcode commented Apr 7, 2014

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,

@cjolly

This comment has been minimized.

Copy link
Owner Author

cjolly commented Apr 8, 2014

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.