Вопрос

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.

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top