<div dir="ltr">may be the ssl stack changed a bit and some defaults parameters.<br><div><br>you may try to pass the ssl option {verify, <span class="">verify_none</span>} to ssl:connect function and see what happens.<br><br>
</div><div>Bogdan<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 30, 2013 at 10:17 PM, Aaron France <span dir="ltr"><<a href="mailto:aaron.l.france@gmail.com" target="_blank">aaron.l.france@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>But why is it working on R15B? Is the ssl code basically broken on R15B?</div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 30, 2013 at 9:12 PM, <span dir="ltr"><<a href="mailto:bog495@gmail.com" target="_blank">bog495@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br><br>verify the output of the command:<br><br>$ openssl s_client -connect <a href="http://region-b.geo-1.identity.hpcloudsvc.com:35357" target="_blank">region-b.geo-1.identity.hpcloudsvc.com:35357</a><br>
ogdan<br>it seems that there is a certificate self signed.<br><br>May be a solution is to disable certificate verification on peer and see what happens.<br><br>Bogdan<div><div><br><br>On Thursday, May 30, 2013 5:43:04 PM UTC+3, Aaron France wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>I'm trying to make HTTPS calls to an API.</div><div><br></div><div>My stack trace is:</div><div><br></div><div><div>SSL: certify: ssl_handshake.erl:263:Fatal error: certificate unknown</div>
<div>** exception error: no match of right hand side value </div><div> {error,</div><div> {failed_connect,</div><div> [{to_address,</div><div> {"<a href="http://region-b.geo-1.identity.hpcloudsvc.com" target="_blank">region-b.geo-1.identity.<u></u>hpcloudsvc.com</a>",35357}},</div>
<div> {inet,[inet],{tls_alert,"<u></u>certificate unknown"}}]}}</div><div> in function herp_identity:login/3 (src/herp_identity.erl, line 9)</div><div><br></div><div>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.</div>
<div><br></div><div>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.</div><div><br></div><div>
Regards,<br>Aaron</div></div></div>
</blockquote></div></div><br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>