You have to set the CN to the domain you're issuing the certificate for.
Adding self-signed certificate to Heroku app
-
11-04-2022 - |
Pregunta
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.
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow