[英]Adding self-signed certificate to Heroku app
I am trying to add a self-signed certificate to one of my apps on Heroku. 我正在尝试将自签名证书添加到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 https://devcenter.heroku.com/articles/ssl和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 在我生成自签名证书后,我尝试通过heroku证书添加证书: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. 我不确定这意味着什么或如何解决问题。
您必须将CN设置为您要为其颁发证书的域。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.