Question

I'm having the same issue as Jngai1297 here: SSL Configuration Unable to read server.crt file, only I think I've spelled everything correctly.

I am trying to update our ssl certificate. We purchased a cert from startssl.com. I downloaded the ssl.key file, and retrieved my ssl.crt file, I also downloaded sub.class2.server.ca.pem and ca.pem

I ran:

openssl rsa -in ssl.key -out sslnopas.key
cat ssl.crt sub.class2.server.ca.pem ca.pem > concatenated.crt 
heroku certs:update concatenated.crt sslnopass.key --app <MYAPPNAME>

with as my actual application name, but I'm getting:

Resolving trust chain... failed
!    Unable to read concatenated.crt file

Is there any way I could get a better error message? I'm on the latest version of heroku toolbelt 3.6.0

Was it helpful?

Solution

Figured it out - I misspelled the sslnopass.key file! The concatenated.crt file was fine, and the error message was wrong. Looks like this is Heroku's default error message for just about anything that goes wrong with this call.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top