summaryrefslogtreecommitdiffstats
path: root/archives/extend/2014-April/000370.html
diff options
context:
space:
mode:
Diffstat (limited to 'archives/extend/2014-April/000370.html')
-rw-r--r--archives/extend/2014-April/000370.html177
1 files changed, 177 insertions, 0 deletions
diff --git a/archives/extend/2014-April/000370.html b/archives/extend/2014-April/000370.html
new file mode 100644
index 00000000..6423667b
--- /dev/null
+++ b/archives/extend/2014-April/000370.html
@@ -0,0 +1,177 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] ssl_hello_world
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ssl_hello_world&In-Reply-To=%3CCC9D1F17-FB2A-4EB7-AAC7-6DC43BEC552F%40wanadoo.fr%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="000369.html">
+ <LINK REL="Next" HREF="000371.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] ssl_hello_world</H1>
+ <B>Samir Sow</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20ssl_hello_world&In-Reply-To=%3CCC9D1F17-FB2A-4EB7-AAC7-6DC43BEC552F%40wanadoo.fr%3E"
+ TITLE="[99s-extend] ssl_hello_world">samset at wanadoo.fr
+ </A><BR>
+ <I>Fri Apr 11 13:48:41 CEST 2014</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000369.html">[99s-extend] ssl_hello_world
+</A></li>
+ <LI>Next message: <A HREF="000371.html">[99s-extend] ssl_hello_world
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#370">[ date ]</a>
+ <a href="thread.html#370">[ thread ]</a>
+ <a href="subject.html#370">[ subject ]</a>
+ <a href="author.html#370">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Thx.
+
+On which OS + Erlang version is the server running ?
+
+Samir
+On 11 avr. 2014, at 13:41, Lo&#239;c Hoguin &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>&gt; wrote:
+
+&gt;<i> This is the successful output I get. You should try to see why yours is different, perhaps someone somewhere ran into the same issue at some point. Note that the --cacert option isn't needed and basically makes no difference.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> % curl -ikvv <A HREF="https://localhost:8443">https://localhost:8443</A>
+</I>&gt;<i> * Rebuilt URL to: <A HREF="https://localhost:8443/">https://localhost:8443/</A>
+</I>&gt;<i> * Hostname was NOT found in DNS cache
+</I>&gt;<i> * Trying 127.0.0.1...
+</I>&gt;<i> * Connected to localhost (127.0.0.1) port 8443 (#0)
+</I>&gt;<i> * successfully set certificate verify locations:
+</I>&gt;<i> * CAfile: /etc/ssl/certs/ca-certificates.crt
+</I>&gt;<i> CApath: none
+</I>&gt;<i> * SSLv3, TLS handshake, Client hello (1):
+</I>&gt;<i> * SSLv3, TLS handshake, Server hello (2):
+</I>&gt;<i> * SSLv3, TLS handshake, CERT (11):
+</I>&gt;<i> * SSLv3, TLS handshake, Server key exchange (12):
+</I>&gt;<i> * SSLv3, TLS handshake, Server finished (14):
+</I>&gt;<i> * SSLv3, TLS handshake, Client key exchange (16):
+</I>&gt;<i> * SSLv3, TLS change cipher, Client hello (1):
+</I>&gt;<i> * SSLv3, TLS handshake, Finished (20):
+</I>&gt;<i> * SSLv3, TLS change cipher, Client hello (1):
+</I>&gt;<i> * SSLv3, TLS handshake, Finished (20):
+</I>&gt;<i> * SSL connection using ECDHE-RSA-AES256-SHA384
+</I>&gt;<i> * Server certificate:
+</I>&gt;<i> * subject: C=US; ST=Texas; O=Nine Nines; OU=Cowboy; CN=localhost
+</I>&gt;<i> * start date: 2013-02-28 05:23:34 GMT
+</I>&gt;<i> * expire date: 2033-02-23 05:23:34 GMT
+</I>&gt;<i> * issuer: C=US; ST=Texas; O=Nine Nines; OU=Cowboy; CN=ROOT CA
+</I>&gt;<i> * SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway.
+</I>&gt;<i> &gt; GET / HTTP/1.1
+</I>&gt;<i> &gt; User-Agent: curl/7.35.0
+</I>&gt;<i> &gt; Host: localhost:8443
+</I>&gt;<i> &gt; Accept: */*
+</I>&gt;<i> &gt;
+</I>&gt;<i> &lt; HTTP/1.1 200 OK
+</I>&gt;<i> HTTP/1.1 200 OK
+</I>&gt;<i> &lt; connection: keep-alive
+</I>&gt;<i> connection: keep-alive
+</I>&gt;<i> * Server Cowboy is not blacklisted
+</I>&gt;<i> &lt; server: Cowboy
+</I>&gt;<i> server: Cowboy
+</I>&gt;<i> &lt; date: Fri, 11 Apr 2014 11:30:03 GMT
+</I>&gt;<i> date: Fri, 11 Apr 2014 11:30:03 GMT
+</I>&gt;<i> &lt; content-length: 12
+</I>&gt;<i> content-length: 12
+</I>&gt;<i> &lt; content-type: text/plain
+</I>&gt;<i> content-type: text/plain
+</I>&gt;<i>
+</I>&gt;<i> &lt;
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> On 04/11/2014 01:25 PM, Samir Sow wrote:
+</I>&gt;&gt;<i> Thx.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Same error &#8230;
+</I>&gt;&gt;<i> Openssl s_client does not work either.
+</I>&gt;&gt;<i> the server does not answer to ClientHello &#8230;
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Samir
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> On 11 avr. 2014, at 13:18, Lo&#239;c Hoguin &lt;<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>&gt; wrote:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> The certificate in the SSL example is self-generated, try curl with the --insecure option.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> On 04/11/2014 12:39 PM, Samir Sow wrote:
+</I>&gt;&gt;&gt;&gt;<i> Hi,
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> Still struggling to make ssl work.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> I downloaded the example ssl_hello_world.
+</I>&gt;&gt;&gt;&gt;<i> Upon execution : i get the following error with curl
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> About to connect() to localhost port 8443 (#0)
+</I>&gt;&gt;&gt;&gt;<i> * Trying ::1... Connexion refus&#233;e
+</I>&gt;&gt;&gt;&gt;<i> * Trying 127.0.0.1... connected
+</I>&gt;&gt;&gt;&gt;<i> * Connected to localhost (127.0.0.1) port 8443 (#0)
+</I>&gt;&gt;&gt;&gt;<i> * Initializing NSS with certpath: sql:/etc/pki/nssdb
+</I>&gt;&gt;&gt;&gt;<i> * NSS error -8018
+</I>&gt;&gt;&gt;&gt;<i> * Closing connection #0
+</I>&gt;&gt;&gt;&gt;<i> * Problem with the SSL CA cert (path? access rights?)
+</I>&gt;&gt;&gt;&gt;<i> curl: (77) Problem with the SSL CA cert (path? access rights?)
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> cmd = curl -vv --cacert priv/cert/cowboy-ca.crt -i <A HREF="https://localhost:8443/">https://localhost:8443/</A>
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> cacert path checked.
+</I>&gt;&gt;&gt;&gt;<i> read permission checked
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> I&#8217;ve tested with a browser and get a connection error.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> Any clue ?
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> Samir
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> _______________________________________________
+</I>&gt;&gt;&gt;&gt;<i> Extend mailing list
+</I>&gt;&gt;&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>
+</I>&gt;&gt;&gt;&gt;<i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> --
+</I>&gt;&gt;&gt;<i> Lo&#239;c Hoguin
+</I>&gt;&gt;&gt;<i> <A HREF="http://ninenines.eu">http://ninenines.eu</A>
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> --
+</I>&gt;<i> Lo&#239;c Hoguin
+</I>&gt;<i> <A HREF="http://ninenines.eu">http://ninenines.eu</A>
+</I>
+
+</PRE>
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000369.html">[99s-extend] ssl_hello_world
+</A></li>
+ <LI>Next message: <A HREF="000371.html">[99s-extend] ssl_hello_world
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#370">[ date ]</a>
+ <a href="thread.html#370">[ thread ]</a>
+ <a href="subject.html#370">[ subject ]</a>
+ <a href="author.html#370">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>