summaryrefslogtreecommitdiffstats
path: root/archives/extend/2014-April/000373.html
diff options
context:
space:
mode:
Diffstat (limited to 'archives/extend/2014-April/000373.html')
-rw-r--r--archives/extend/2014-April/000373.html112
1 files changed, 112 insertions, 0 deletions
diff --git a/archives/extend/2014-April/000373.html b/archives/extend/2014-April/000373.html
new file mode 100644
index 00000000..a442c6e6
--- /dev/null
+++ b/archives/extend/2014-April/000373.html
@@ -0,0 +1,112 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] ssl
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ssl&In-Reply-To=%3Cjwxy2j8ajv5369o6n7tbpueg.1397251896146%40email.android.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <style type="text/css">
+ pre {
+ white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
+ }
+ </style>
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000372.html">
+ <LINK REL="Next" HREF="000374.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] ssl</H1>
+ <B>Lo&#239;c Hoguin</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ssl&In-Reply-To=%3Cjwxy2j8ajv5369o6n7tbpueg.1397251896146%40email.android.com%3E"
+ TITLE="[99s-extend] ssl">essen at ninenines.eu
+ </A><BR>
+ <I>Fri Apr 11 23:31:36 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000372.html">[99s-extend] ssl
+</A></li>
+ <LI>Next message: <A HREF="000374.html">[99s-extend] [cowboy] Websocket with Firefox Android
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#373">[ date ]</a>
+ <a href="thread.html#373">[ thread ]</a>
+ <a href="subject.html#373">[ subject ]</a>
+ <a href="author.html#373">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Please report it to erlang-bugs, you'll get better help with ssl bugs there.
+
+--
+Lo&#239;c Hoguin
+<A HREF="http://ninenines.eu">http://ninenines.eu</A>
+
+-------- Original Message --------
+From:Samir Sow &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">samset at wanadoo.fr</A>&gt;
+Sent:Fri, 11 Apr 2014 23:23:10 +0200
+To:<A HREF="https://lists.ninenines.eu/listinfo/extend">extend at lists.ninenines.eu</A>
+Subject:[99s-extend] ssl
+
+&gt;<i>Hi,
+</I>&gt;<i>
+</I>&gt;<i>Still struggling with ssl.
+</I>&gt;<i>I decided to check what&#8217;s going on at the ssl module level. Did a step by step ssl connection using the erlang ssl doc.
+</I>&gt;<i>Found an error erlang:size badarg, but could not understand if it&#8217;s a problem with the key/cert files or with the data sent by the client.
+</I>&gt;<i>
+</I>&gt;<i>Any help welcomed. Thx
+</I>&gt;<i>
+</I>&gt;<i>Samir
+</I>&gt;<i>
+</I>&gt;<i>{ok, SSLSocket} = ssl:ssl_accept(Socket, [{cacertfile, &quot;priv/cert/cacert.crt&quot;}, {certfile, &quot;priv/cert/server.crt&quot;}, {keyfile, &quot;priv/cert/server.key&quot;}]).
+</I>&gt;<i>** exception exit: {{badarg,
+</I>&gt;<i> [{erlang,size,
+</I>&gt;<i> [[22,3,1,0,176,1,0,0,172,3,3,83,72,89,48,183,175,
+</I>&gt;<i> 58,145,197,219|...]],
+</I>&gt;<i> []},
+</I>&gt;<i> {tls_record,get_tls_records_aux,2,
+</I>&gt;<i> [{file,&quot;tls_record.erl&quot;},{line,122}]},
+</I>&gt;<i> {tls_connection,next_tls_record,2,
+</I>&gt;<i> [{file,&quot;tls_connection.erl&quot;},{line,484}]},
+</I>&gt;<i> {tls_connection,handle_info,3,
+</I>&gt;<i> [{file,&quot;tls_connection.erl&quot;},{line,307}]},
+</I>&gt;<i> {gen_fsm,handle_msg,7,
+</I>&gt;<i> [{file,&quot;gen_fsm.erl&quot;},{line,503}]},
+</I>&gt;<i> {proc_lib,init_p_do_apply,3,
+</I>&gt;<i> [{file,&quot;proc_lib.erl&quot;},{line,239}]}]},
+</I>&gt;<i> {gen_fsm,sync_send_all_state_event,
+</I>&gt;<i> [&lt;0.105.0&gt;,{start,infinity},infinity]}}
+</I>&gt;<i> in function gen_fsm:sync_send_all_state_event/3 (gen_fsm.erl, line 242)
+</I>&gt;<i> in call from ssl_connection:sync_send_all_state_event/2 (ssl_connection.erl, line 1649)
+</I>&gt;<i> in call from ssl_connection:handshake/2 (ssl_connection.erl, line 97)
+</I>&gt;<i> in call from tls_connection:start_fsm/8 (tls_connection.erl, line 81)
+</I>&gt;<i> in call from ssl_connection:ssl_accept/7 (ssl_connection.erl, line 84)
+</I>&gt;<i>_______________________________________________
+</I>&gt;<i>Extend mailing list
+</I>&gt;<i><A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>
+</I>&gt;<i><A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>
+</I>-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20140411/9e3c6c32/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20140411/9e3c6c32/attachment.html</A>&gt;
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000372.html">[99s-extend] ssl
+</A></li>
+ <LI>Next message: <A HREF="000374.html">[99s-extend] [cowboy] Websocket with Firefox Android
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#373">[ date ]</a>
+ <a href="thread.html#373">[ thread ]</a>
+ <a href="subject.html#373">[ subject ]</a>
+ <a href="author.html#373">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>