[erlang-questions] SSL Errors with R16B

Thu May 30 21:36:35 CEST 2013

may be this can help :


you may pass this ssl option to ssl:connect

{verify, none}

may be because the R16 ssl impl. has ither defaults, and playing with ssl  
options may help you. 


On Thursday, May 30, 2013 5:43:04 PM UTC+3, Aaron France wrote:
> Hi,
> I'm trying to make HTTPS calls to an API.
> My stack trace is:
> SSL: certify: ssl_handshake.erl:263:Fatal error: certificate unknown
> ** exception error: no match of right hand side value 
>                     {error,
>                         {failed_connect,
>                             [{to_address,
>                                  {"region-b.geo-1.identity.hpcloudsvc.com
> ",35357}},
>                              {inet,[inet],{tls_alert,"certificate 
> unknown"}}]}}
>      in function  herp_identity:login/3 (src/herp_identity.erl, line 9)
> I've looked at some other issues which point it to being a regression in 
> R16B and I've reverted to R15 and the issue is non-existent.
> Any tips on getting around this or will it require a patch in R16B? The 
> bug is still evident in HEAD so possibly not enough data has been gathered 
> about it.
> Regards,
> Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130530/9d92f078/attachment.htm>

More information about the erlang-questions mailing list