Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

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

Create a Private Key

openssl genrsa -des3 -out server.orig.key 2048
openssl rsa -in server.orig.key -out server.key

Generate a Certificate Signing Request

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

Request Certificate from GoDaddy

  • Select Apache (2.0) as the web server when downloading
  • Unpack download into same dir as keys above
  • Combine root CA certificate
cat gd_bundle.crt > final.crt

Add cert to heroku for use with ssl:endpoint

heroku certs:add final.crt server.key
# or if you're updating an existing 
heroku certs:update final.crt server.key
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.