【发布时间】:2016-02-03 09:10:07
【问题描述】:
我正在创建带有 3 个文件的 Erlang 服务器:cowbow-ca.crt,我猜这是 CA 的证书,server.key 和 server.crt,但我在日志中看到此错误消息。
=ERROR REPORT==== 3-Feb-2016::13:00:13 ===
Error in process <0.31594.15> on node 'node1@web02.example.lab' with exit value:
{closed,[{ranch_ssl,accept_ack,2,
[{file,"/www/web/staging/postman.example.lab/deps/ranch/src/ranch_ssl.erl"},
{line,115}]},
{cowboy_protocol,init,4,
[{file,"/www/web/staging/postman.example.lab/deps/cowboy/src/cowboy_protocol.erl"},
{line,91}]}]}
=ERROR REPORT==== 3-Feb-2016::13:00:13 ===
Ranch listener https had connection process started with cowboy_protocol:start_link/4 at <0.31594.15> exit with reason: {closed,[{ranch_ssl,accept_ack,2,[{file,"/www/web/staging/postman.example.lab/deps/ranch/src/ranch_ssl.erl"},{line,115}]},{cowboy_protocol,init,4,[{file,"/www/web/staging/postman.example.lab/deps/cowboy/src/cowboy_protocol.erl"},{line,91}]}]}
=ERROR REPORT==== 3-Feb-2016::13:00:18 ===
SSL: certify: ssl_alert.erl:93:Fatal error: unknown ca
=ERROR REPORT==== 3-Feb-2016::13:01:11 ===
SSL: certify: ssl_alert.erl:93:Fatal error: unknown ca
=ERROR REPORT==== 3-Feb-2016::13:01:18 ===
SSL: certify: ssl_alert.erl:93:Fatal error: unknown ca
【问题讨论】:
标签: erlang ssl-certificate cowboy