[99s-extend] ssl_hello_world

Loïc Hoguin essen at ninenines.eu
Fri Apr 11 13:18:56 CEST 2014


The certificate in the SSL example is self-generated, try curl with the 
--insecure option.

On 04/11/2014 12:39 PM, Samir Sow wrote:
> Hi,
>
> Still struggling to make ssl work.
>
> I downloaded the example ssl_hello_world.
> Upon execution : i get the following error with curl
>
>   About to connect() to localhost port 8443 (#0)
> *   Trying ::1... Connexion refusée
> *   Trying 127.0.0.1... connected
> * Connected to localhost (127.0.0.1) port 8443 (#0)
> * Initializing NSS with certpath: sql:/etc/pki/nssdb
> * NSS error -8018
> * Closing connection #0
> * Problem with the SSL CA cert (path? access rights?)
> curl: (77) Problem with the SSL CA cert (path? access rights?)
>
>
> cmd = curl -vv --cacert priv/cert/cowboy-ca.crt -i https://localhost:8443/
>
> cacert path checked.
> read permission checked
>
> I’ve tested with a browser and get a connection error.
>
> Any clue ?
>
> Samir
>
>
> _______________________________________________
> Extend mailing list
> Extend at lists.ninenines.eu
> https://lists.ninenines.eu/listinfo/extend
>

-- 
Loïc Hoguin
http://ninenines.eu



More information about the Extend mailing list