Skip to content

Instantly share code, notes, and snippets.

@rianrainey
Last active December 30, 2015 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rianrainey/7789698 to your computer and use it in GitHub Desktop.
Save rianrainey/7789698 to your computer and use it in GitHub Desktop.
Set up SSL from GoDaddy on Heroku

Heroku Instructions

I was assigned the task to renew the SSL for a client that already was renewed on GoDaddy.

Use openssl to generate a private key

openssl genrsa -des3 -out server.pass.key 2048

Strip of password from previous generated key

openssl rsa -in server.pass.key -out server.key

Create Certificate Signing Request (CSR)

openssl req -nodes -new -key server.key -out server.csr

Submit CSR and Buy SSL from GoDaddy (or any provider for that matter)

Download certificate from GoDaddy

Set up SSL on Heroku ($20/year)

heroku addons:add ssl:endpoint

Add certificate to Heroku

heroku certs:add server.crt server.key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment