I obtained a security certificate on StartSSL.com and followed the steps on Heroku closely. I was given intermediate as well as root certificates.
I tried different methods to chain these files but I get this error (see screenshot)
http://i.imgur.com/8WVmAVu.jpg
How can I fix this error?
The files that I downloaded are:
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
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
Unable to read server.crt file
Additionally, I just tried without any CAT and simply "heroku certs:add ca-bundle.pem server.key" and I get this error
No certificate given is a domain name certificate