Question

I am trying to add a self-signed certificate to one of my apps on Heroku. I have followed the guides from the Dev Center.

https://devcenter.heroku.com/articles/ssl and https://devcenter.heroku.com/articles/ssl-certificate-self

After I have generated the self-signed cert I try to add the cert by heroku certs:add server.crt server.key

And get the error message: Resolving trust chain... failed ! No certificate given is a domain name certificate.

I am not sure what that means or how to fix the problem.

Était-ce utile?

La solution

You have to set the CN to the domain you're issuing the certificate for.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top