blob: 248f6be8c4622a735577a06e572813b9249e688b (
plain) (
tree)
|
|
<!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=%3C352B535C-4C7E-41FB-86F1-02D48226BF50%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="000367.html">
<LINK REL="Next" HREF="000369.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=%3C352B535C-4C7E-41FB-86F1-02D48226BF50%40wanadoo.fr%3E"
TITLE="[99s-extend] ssl_hello_world">samset at wanadoo.fr
</A><BR>
<I>Fri Apr 11 13:25:51 CEST 2014</I>
<P><UL>
<LI>Previous message: <A HREF="000367.html">[99s-extend] ssl_hello_world
</A></li>
<LI>Next message: <A HREF="000369.html">[99s-extend] ssl_hello_world
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#368">[ date ]</a>
<a href="thread.html#368">[ thread ]</a>
<a href="subject.html#368">[ subject ]</a>
<a href="author.html#368">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Thx.
Same error …
Openssl s_client does not work either.
the server does not answer to ClientHello …
Samir
On 11 avr. 2014, at 13:18, Loïc Hoguin <<A HREF="https://lists.ninenines.eu/listinfo/extend">essen at ninenines.eu</A>> wrote:
><i> The certificate in the SSL example is self-generated, try curl with the --insecure option.
</I>><i>
</I>><i> On 04/11/2014 12:39 PM, Samir Sow wrote:
</I>>><i> Hi,
</I>>><i>
</I>>><i> Still struggling to make ssl work.
</I>>><i>
</I>>><i> I downloaded the example ssl_hello_world.
</I>>><i> Upon execution : i get the following error with curl
</I>>><i>
</I>>><i> About to connect() to localhost port 8443 (#0)
</I>>><i> * Trying ::1... Connexion refusée
</I>>><i> * Trying 127.0.0.1... connected
</I>>><i> * Connected to localhost (127.0.0.1) port 8443 (#0)
</I>>><i> * Initializing NSS with certpath: sql:/etc/pki/nssdb
</I>>><i> * NSS error -8018
</I>>><i> * Closing connection #0
</I>>><i> * Problem with the SSL CA cert (path? access rights?)
</I>>><i> curl: (77) Problem with the SSL CA cert (path? access rights?)
</I>>><i>
</I>>><i>
</I>>><i> cmd = curl -vv --cacert priv/cert/cowboy-ca.crt -i <A HREF="https://localhost:8443/">https://localhost:8443/</A>
</I>>><i>
</I>>><i> cacert path checked.
</I>>><i> read permission checked
</I>>><i>
</I>>><i> I’ve tested with a browser and get a connection error.
</I>>><i>
</I>>><i> Any clue ?
</I>>><i>
</I>>><i> Samir
</I>>><i>
</I>>><i>
</I>>><i> _______________________________________________
</I>>><i> Extend mailing list
</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">Extend at lists.ninenines.eu</A>
</I>>><i> <A HREF="https://lists.ninenines.eu/listinfo/extend">https://lists.ninenines.eu/listinfo/extend</A>
</I>>><i>
</I>><i>
</I>><i> --
</I>><i> Loïc Hoguin
</I>><i> <A HREF="http://ninenines.eu">http://ninenines.eu</A>
</I>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000367.html">[99s-extend] ssl_hello_world
</A></li>
<LI>Next message: <A HREF="000369.html">[99s-extend] ssl_hello_world
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#368">[ date ]</a>
<a href="thread.html#368">[ thread ]</a>
<a href="subject.html#368">[ subject ]</a>
<a href="author.html#368">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>
|