title: Issues setting up SSL, keep getting "no valid, non-passphrase-protected keys given" error
body: <p>I obtained a security certificate on StartSSL.com and followed the steps on Heroku closely. I was given intermediate as well as root certificates. </p>
  
  <p>I tried different methods to chain these files but I get this error (see screenshot)</p>
  
  <p><a href="https://i.imgur.com/8WVmAVu.jpg" rel="noreferrer">http://i.imgur.com/8WVmAVu.jpg</a></p>
  
  <p>How can I fix this error?</p>
  
  <p>The files that I downloaded are:</p>
  
  <pre><code>ca.pem (root cert)
  sub.class1.server.ca.pem (intermediate cert)
  copy and pasted the private key as server.key
  copy and pasted the certificate as server.orig.crt
  There's also the ca-bundle.pem that I tried using but no luck
  </code></pre>
  
  <p>I just redownloaded all of the files and ran this "cat server.orig.crt sub.class1.server.ca.pem ca-bundle.pem > server.crt"
  Then ran heroku certs:add server.crt server.key and I get this error</p>
  
  <pre><code>Unable to read server.crt file
  </code></pre>
  
  <p>Additionally, I just tried without any CAT and simply "heroku certs:add ca-bundle.pem server.key" and I get this error</p>
  
  <pre><code>No certificate given is a domain name certificate
  </code></pre>