[erlang-questions] SSL Issue

Lee Sylvester lee.sylvester@REDACTED
Tue Jul 23 19:48:32 CEST 2013


So, everything works if I use a self certified cert and key, but if I try to use an official cert, I get the error below.

Does anyone have an idea?

Thanks,
Lee


On 23 Jul 2013, at 15:03, Lee Sylvester <lee.sylvester@REDACTED> wrote:

> Hi guys,
> 
> So, I have a Cowboy server running and I want to start using SSL certs to secure my services.  Things compile fine and everything runs, but when I access a service, I get this output in the console:
> 
> =ERROR REPORT==== 23-Jul-2013::09:56:29 ===
> SSL: 1159: error:[<<48,130,6,220,48,130,5,196,160,3,2,1,2,2,16,15,199,72,40,33,
>                   126,49,13,  [snip]  45,193>>,
>                 <<48,130,6  [snip]  118,247,97>>] /usr/certs/cert.pem
> [{ssl_connection,init_certificates,8,
>                  [{file,"ssl_connection.erl"},{line,1155}]},
>  {ssl_connection,ssl_init,2,[{file,"ssl_connection.erl"},{line,1110}]},
>  {ssl_connection,init,1,[{file,"ssl_connection.erl"},{line,303}]},
>  {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]
> 
> 
> Does anyone here have an idea as to what the issue might be?  It's not a very helpful error :-)
> 
> Thanks,
> Lee
> 
> 




More information about the erlang-questions mailing list