<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">It seems that it is version specific bug. It can be reproduced in 18 and 17.4 OTP versions and everything works fine in 17.5</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 18px; font-family: Menlo;" class=""># erl</div><div style="margin: 0px; font-size: 18px; font-family: Menlo;" class="">Erlang/OTP 17 [erts-6.4] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]</div><div style="margin: 0px; font-size: 18px; font-family: Menlo; min-height: 21px;" class=""><br class=""></div><div style="margin: 0px; font-size: 18px; font-family: Menlo;" class="">Eshell V6.4 (abort with ^G)</div><div style="margin: 0px; font-size: 18px; font-family: Menlo;" class="">1> application:ensure_all_started(ssl).</div><div style="margin: 0px; font-size: 18px; font-family: Menlo;" class="">{ok,[crypto,asn1,public_key,ssl]}</div><div style="margin: 0px; font-size: 18px; font-family: Menlo;" class="">2> ssl:connect( "<a href="http://www.nicemine.ru" class="">www.nicemine.ru</a>", 443, [{verify,verify_peer},{server_name_indication,"<a href="http://www.nicemine.ru" class="">www.nicemine.ru</a>"},{depth,2},{cacertfile,"cacert.pem"}] ).</div><div style="margin: 0px; font-size: 18px; font-family: Menlo;" class="">{ok,{sslsocket,{gen_tcp,#Port<0.903>,tls_connection,</div><div style="margin: 0px; font-size: 18px; font-family: Menlo;" class=""> undefined},</div><div style="margin: 0px; font-size: 18px; font-family: Menlo;" class=""> <0.48.0>}}</div><div style="margin: 0px; font-size: 18px; font-family: Menlo;" class="">3> </div></div><div style="margin: 0px; font-size: 18px; font-family: Menlo;" class=""><br class=""></div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">16 июля 2015 г., в 21:16, Santiago Fernández <<a href="mailto:santif@gmail.com" class="">santif@gmail.com</a>> написал(а):</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">can't reproduce:<br class=""><br class="">Erlang/OTP 17 [erts-6.4] [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:false]<br class=""><br class="">Eshell V6.4 (abort with ^G)<br class="">1> application:ensure_all_started(ssl).<br class="">{ok,[crypto,asn1,public_key,ssl]}<br class="">2> ssl:connect( "<a href="http://www.nicemine.ru/" class="">www.nicemine.ru</a>", 443, [{verify,verify_peer},{server_name_indication,"<a href="http://www.nicemine.ru/" class="">www.nicemine.ru</a>"},{depth,2},{cacertfile,"cacert.pem"}] ).<br class="">{ok,{sslsocket,{gen_tcp,#Port<0.821>,tls_connection,<br class=""> undefined},<br class=""> <0.49.0>}}<br class=""><br class=""><br class=""><br class=""></div><div class="gmail_extra"><br clear="all" class=""></div></div></blockquote></div><br class=""></body></html>