SSL配置无法读取server.crt文件 [英] SSL Configuration Unable to read server.crt file

查看:324

当我使用不正确的命令行开关(-app)指定应用程序名称时,我遇到了同样的问题。只要我使用正确的开关--app(两个破折号),错误就消失了。所以这必须是一个通用的错误,当然会误导SSL插件的打印。

I am trying to go through this tutorial here

Creating a Self Signed SSL Certificate

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

I generated the csr, and the key and generated the certificate csr

When I head back to the ssl heroku tutorial

I tried

heroku certs:add server.crt bundle.pem server.key

but its giving me this error

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

I am pretty sure I have server.crt, because when I generated it, the contents popped up. I didn't get an error.

I am quite new to heroku, I managed to deploy a small rails app to heroku last night

I am not using nginx or pow from this railscasts video which I haven't watched yet

http://railscasts.com/episodes/357-adding-ssl

could this be a problem?

解决方案

I had the same problem when I specified application name with incorrect command line switch (-app ). As soon as I used correct switch --app (two dashes) the error disappeared. So this must be a generic error, misleading of course, that the SSL addon prints.

这篇关于SSL配置无法读取server.crt文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆