From c807880f7ac73f813b2660ea81a00f7712a4e793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 29 Aug 2016 12:39:49 +0200 Subject: Add old mailing list archives --- archives/extend/2014-April/000364.html | 79 ++++++++++++++ archives/extend/2014-April/000365.html | 70 ++++++++++++ archives/extend/2014-April/000366.html | 91 ++++++++++++++++ archives/extend/2014-April/000367.html | 104 ++++++++++++++++++ archives/extend/2014-April/000368.html | 114 ++++++++++++++++++++ archives/extend/2014-April/000369.html | 173 +++++++++++++++++++++++++++++ archives/extend/2014-April/000370.html | 177 ++++++++++++++++++++++++++++++ archives/extend/2014-April/000371.html | 185 ++++++++++++++++++++++++++++++++ archives/extend/2014-April/000372.html | 93 ++++++++++++++++ archives/extend/2014-April/000373.html | 112 +++++++++++++++++++ archives/extend/2014-April/000374.html | 83 ++++++++++++++ archives/extend/2014-April/000375.html | 88 +++++++++++++++ archives/extend/2014-April/000376.html | 84 +++++++++++++++ archives/extend/2014-April/000377.html | 89 +++++++++++++++ archives/extend/2014-April/000378.html | 82 ++++++++++++++ archives/extend/2014-April/000379.html | 71 ++++++++++++ archives/extend/2014-April/000380.html | 71 ++++++++++++ archives/extend/2014-April/000381.html | 76 +++++++++++++ archives/extend/2014-April/000382.html | 66 ++++++++++++ archives/extend/2014-April/author.html | 142 ++++++++++++++++++++++++ archives/extend/2014-April/date.html | 142 ++++++++++++++++++++++++ archives/extend/2014-April/index.html | 179 ++++++++++++++++++++++++++++++ archives/extend/2014-April/subject.html | 142 ++++++++++++++++++++++++ archives/extend/2014-April/thread.html | 179 ++++++++++++++++++++++++++++++ 24 files changed, 2692 insertions(+) create mode 100644 archives/extend/2014-April/000364.html create mode 100644 archives/extend/2014-April/000365.html create mode 100644 archives/extend/2014-April/000366.html create mode 100644 archives/extend/2014-April/000367.html create mode 100644 archives/extend/2014-April/000368.html create mode 100644 archives/extend/2014-April/000369.html create mode 100644 archives/extend/2014-April/000370.html create mode 100644 archives/extend/2014-April/000371.html create mode 100644 archives/extend/2014-April/000372.html create mode 100644 archives/extend/2014-April/000373.html create mode 100644 archives/extend/2014-April/000374.html create mode 100644 archives/extend/2014-April/000375.html create mode 100644 archives/extend/2014-April/000376.html create mode 100644 archives/extend/2014-April/000377.html create mode 100644 archives/extend/2014-April/000378.html create mode 100644 archives/extend/2014-April/000379.html create mode 100644 archives/extend/2014-April/000380.html create mode 100644 archives/extend/2014-April/000381.html create mode 100644 archives/extend/2014-April/000382.html create mode 100644 archives/extend/2014-April/author.html create mode 100644 archives/extend/2014-April/date.html create mode 100644 archives/extend/2014-April/index.html create mode 100644 archives/extend/2014-April/subject.html create mode 100644 archives/extend/2014-April/thread.html (limited to 'archives/extend/2014-April') diff --git a/archives/extend/2014-April/000364.html b/archives/extend/2014-April/000364.html new file mode 100644 index 00000000..bd82a29d --- /dev/null +++ b/archives/extend/2014-April/000364.html @@ -0,0 +1,79 @@ + + + + [99s-extend] Closing the mailing lists later this week + + + + + + + + + + +

[99s-extend] Closing the mailing lists later this week

+ Loïc Hoguin + essen at ninenines.eu +
+ Tue Apr 8 11:11:07 CEST 2014 +

+
+ +
Hello,
+
+I will be closing the mailing lists later this week. Preferred medium 
+for getting help will be opening tickets on github (if you can't figure 
+something out, then it's a bug!) or IRC.
+
+If you would like to continue helping users, then hop on IRC or follow 
+the projects on github and answer tickets. Thank you.
+
+Announcements will probably be made using the website's articles page 
+instead of here.
+
+The archives will be moved to git for safekeeping, but everything else 
+will be deleted, including user data and backups.
+
+Thanks for your understanding,
+
+-- 
+Loïc Hoguin
+http://ninenines.eu
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000365.html b/archives/extend/2014-April/000365.html new file mode 100644 index 00000000..db44c9d2 --- /dev/null +++ b/archives/extend/2014-April/000365.html @@ -0,0 +1,70 @@ + + + + [99s-extend] REST handler with ssl support + + + + + + + + + + +

[99s-extend] REST handler with ssl support

+ Samir Sow + samset at wanadoo.fr +
+ Wed Apr 9 16:52:47 CEST 2014 +

+
+ +
Hi,
+
+I’d like to secure my rest api with an ssl transport.
+Could not find any example to do so ?
+
+Any clue ?
+
+Thank you.
+
+Samir
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000366.html b/archives/extend/2014-April/000366.html new file mode 100644 index 00000000..e359596d --- /dev/null +++ b/archives/extend/2014-April/000366.html @@ -0,0 +1,91 @@ + + + + [99s-extend] ssl_hello_world + + + + + + + + + + +

[99s-extend] ssl_hello_world

+ Samir Sow + samset at wanadoo.fr +
+ Fri Apr 11 12:39:13 CEST 2014 +

+
+ +
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
+
+
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000367.html b/archives/extend/2014-April/000367.html new file mode 100644 index 00000000..b97debd3 --- /dev/null +++ b/archives/extend/2014-April/000367.html @@ -0,0 +1,104 @@ + + + + [99s-extend] ssl_hello_world + + + + + + + + + + +

[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
+ diff --git a/archives/extend/2014-April/000368.html b/archives/extend/2014-April/000368.html new file mode 100644 index 00000000..248f6be8 --- /dev/null +++ b/archives/extend/2014-April/000368.html @@ -0,0 +1,114 @@ + + + + [99s-extend] ssl_hello_world + + + + + + + + + + +

[99s-extend] ssl_hello_world

+ Samir Sow + samset at wanadoo.fr +
+ Fri Apr 11 13:25:51 CEST 2014 +

+
+ +
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 <essen at ninenines.eu> wrote:
+
+> 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
+ diff --git a/archives/extend/2014-April/000369.html b/archives/extend/2014-April/000369.html new file mode 100644 index 00000000..882a8348 --- /dev/null +++ b/archives/extend/2014-April/000369.html @@ -0,0 +1,173 @@ + + + + [99s-extend] ssl_hello_world + + + + + + + + + + +

[99s-extend] ssl_hello_world

+ Loïc Hoguin + essen at ninenines.eu +
+ Fri Apr 11 13:41:29 CEST 2014 +

+
+ +
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.
+
+
+% curl -ikvv https://localhost:8443
+* Rebuilt URL to: https://localhost:8443/
+* Hostname was NOT found in DNS cache
+*   Trying 127.0.0.1...
+* Connected to localhost (127.0.0.1) port 8443 (#0)
+* successfully set certificate verify locations:
+*   CAfile: /etc/ssl/certs/ca-certificates.crt
+   CApath: none
+* SSLv3, TLS handshake, Client hello (1):
+* SSLv3, TLS handshake, Server hello (2):
+* SSLv3, TLS handshake, CERT (11):
+* SSLv3, TLS handshake, Server key exchange (12):
+* SSLv3, TLS handshake, Server finished (14):
+* SSLv3, TLS handshake, Client key exchange (16):
+* SSLv3, TLS change cipher, Client hello (1):
+* SSLv3, TLS handshake, Finished (20):
+* SSLv3, TLS change cipher, Client hello (1):
+* SSLv3, TLS handshake, Finished (20):
+* SSL connection using ECDHE-RSA-AES256-SHA384
+* Server certificate:
+* 	 subject: C=US; ST=Texas; O=Nine Nines; OU=Cowboy; CN=localhost
+* 	 start date: 2013-02-28 05:23:34 GMT
+* 	 expire date: 2033-02-23 05:23:34 GMT
+* 	 issuer: C=US; ST=Texas; O=Nine Nines; OU=Cowboy; CN=ROOT CA
+* 	 SSL certificate verify result: self signed certificate in 
+certificate chain (19), continuing anyway.
+ > GET / HTTP/1.1
+ > User-Agent: curl/7.35.0
+ > Host: localhost:8443
+ > Accept: */*
+ >
+< HTTP/1.1 200 OK
+HTTP/1.1 200 OK
+< connection: keep-alive
+connection: keep-alive
+* Server Cowboy is not blacklisted
+< server: Cowboy
+server: Cowboy
+< date: Fri, 11 Apr 2014 11:30:03 GMT
+date: Fri, 11 Apr 2014 11:30:03 GMT
+< content-length: 12
+content-length: 12
+< content-type: text/plain
+content-type: text/plain
+
+<
+
+
+On 04/11/2014 01:25 PM, Samir Sow wrote:
+> 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 <essen at ninenines.eu> wrote:
+>
+>> 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
+>
+
+-- 
+Loïc Hoguin
+http://ninenines.eu
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ 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 @@ + + + + [99s-extend] ssl_hello_world + + + + + + + + + + +

[99s-extend] ssl_hello_world

+ Samir Sow + samset at wanadoo.fr +
+ Fri Apr 11 13:48:41 CEST 2014 +

+
+ +
Thx.
+
+On which OS + Erlang version is the server running ?
+
+Samir
+On 11 avr. 2014, at 13:41, Loïc Hoguin <essen at ninenines.eu> wrote:
+
+> 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.
+> 
+> 
+> % curl -ikvv https://localhost:8443
+> * Rebuilt URL to: https://localhost:8443/
+> * Hostname was NOT found in DNS cache
+> *   Trying 127.0.0.1...
+> * Connected to localhost (127.0.0.1) port 8443 (#0)
+> * successfully set certificate verify locations:
+> *   CAfile: /etc/ssl/certs/ca-certificates.crt
+>  CApath: none
+> * SSLv3, TLS handshake, Client hello (1):
+> * SSLv3, TLS handshake, Server hello (2):
+> * SSLv3, TLS handshake, CERT (11):
+> * SSLv3, TLS handshake, Server key exchange (12):
+> * SSLv3, TLS handshake, Server finished (14):
+> * SSLv3, TLS handshake, Client key exchange (16):
+> * SSLv3, TLS change cipher, Client hello (1):
+> * SSLv3, TLS handshake, Finished (20):
+> * SSLv3, TLS change cipher, Client hello (1):
+> * SSLv3, TLS handshake, Finished (20):
+> * SSL connection using ECDHE-RSA-AES256-SHA384
+> * Server certificate:
+> * 	 subject: C=US; ST=Texas; O=Nine Nines; OU=Cowboy; CN=localhost
+> * 	 start date: 2013-02-28 05:23:34 GMT
+> * 	 expire date: 2033-02-23 05:23:34 GMT
+> * 	 issuer: C=US; ST=Texas; O=Nine Nines; OU=Cowboy; CN=ROOT CA
+> * 	 SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway.
+> > GET / HTTP/1.1
+> > User-Agent: curl/7.35.0
+> > Host: localhost:8443
+> > Accept: */*
+> >
+> < HTTP/1.1 200 OK
+> HTTP/1.1 200 OK
+> < connection: keep-alive
+> connection: keep-alive
+> * Server Cowboy is not blacklisted
+> < server: Cowboy
+> server: Cowboy
+> < date: Fri, 11 Apr 2014 11:30:03 GMT
+> date: Fri, 11 Apr 2014 11:30:03 GMT
+> < content-length: 12
+> content-length: 12
+> < content-type: text/plain
+> content-type: text/plain
+> 
+> <
+> 
+> 
+> On 04/11/2014 01:25 PM, Samir Sow wrote:
+>> 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 <essen at ninenines.eu> wrote:
+>> 
+>>> 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
+>> 
+> 
+> -- 
+> Loïc Hoguin
+> http://ninenines.eu
+
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000371.html b/archives/extend/2014-April/000371.html new file mode 100644 index 00000000..1809aeae --- /dev/null +++ b/archives/extend/2014-April/000371.html @@ -0,0 +1,185 @@ + + + + [99s-extend] ssl_hello_world + + + + + + + + + + +

[99s-extend] ssl_hello_world

+ Loïc Hoguin + essen at ninenines.eu +
+ Fri Apr 11 13:57:59 CEST 2014 +

+
+ +
It's tested on ArchLinux from R15B01 to master so that's unrelated to 
+the Erlang version.
+
+On 04/11/2014 01:48 PM, Samir Sow wrote:
+> Thx.
+>
+> On which OS + Erlang version is the server running ?
+>
+> Samir
+> On 11 avr. 2014, at 13:41, Loïc Hoguin <essen at ninenines.eu> wrote:
+>
+>> 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.
+>>
+>>
+>> % curl -ikvv https://localhost:8443
+>> * Rebuilt URL to: https://localhost:8443/
+>> * Hostname was NOT found in DNS cache
+>> *   Trying 127.0.0.1...
+>> * Connected to localhost (127.0.0.1) port 8443 (#0)
+>> * successfully set certificate verify locations:
+>> *   CAfile: /etc/ssl/certs/ca-certificates.crt
+>>   CApath: none
+>> * SSLv3, TLS handshake, Client hello (1):
+>> * SSLv3, TLS handshake, Server hello (2):
+>> * SSLv3, TLS handshake, CERT (11):
+>> * SSLv3, TLS handshake, Server key exchange (12):
+>> * SSLv3, TLS handshake, Server finished (14):
+>> * SSLv3, TLS handshake, Client key exchange (16):
+>> * SSLv3, TLS change cipher, Client hello (1):
+>> * SSLv3, TLS handshake, Finished (20):
+>> * SSLv3, TLS change cipher, Client hello (1):
+>> * SSLv3, TLS handshake, Finished (20):
+>> * SSL connection using ECDHE-RSA-AES256-SHA384
+>> * Server certificate:
+>> * 	 subject: C=US; ST=Texas; O=Nine Nines; OU=Cowboy; CN=localhost
+>> * 	 start date: 2013-02-28 05:23:34 GMT
+>> * 	 expire date: 2033-02-23 05:23:34 GMT
+>> * 	 issuer: C=US; ST=Texas; O=Nine Nines; OU=Cowboy; CN=ROOT CA
+>> * 	 SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway.
+>>> GET / HTTP/1.1
+>>> User-Agent: curl/7.35.0
+>>> Host: localhost:8443
+>>> Accept: */*
+>>>
+>> < HTTP/1.1 200 OK
+>> HTTP/1.1 200 OK
+>> < connection: keep-alive
+>> connection: keep-alive
+>> * Server Cowboy is not blacklisted
+>> < server: Cowboy
+>> server: Cowboy
+>> < date: Fri, 11 Apr 2014 11:30:03 GMT
+>> date: Fri, 11 Apr 2014 11:30:03 GMT
+>> < content-length: 12
+>> content-length: 12
+>> < content-type: text/plain
+>> content-type: text/plain
+>>
+>> <
+>>
+>>
+>> On 04/11/2014 01:25 PM, Samir Sow wrote:
+>>> 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 <essen at ninenines.eu> wrote:
+>>>
+>>>> 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
+>>>
+>>
+>> --
+>> Loïc Hoguin
+>> http://ninenines.eu
+>
+
+-- 
+Loïc Hoguin
+http://ninenines.eu
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000372.html b/archives/extend/2014-April/000372.html new file mode 100644 index 00000000..a537db02 --- /dev/null +++ b/archives/extend/2014-April/000372.html @@ -0,0 +1,93 @@ + + + + [99s-extend] ssl + + + + + + + + + + +

[99s-extend] ssl

+ Samir Sow + samset at wanadoo.fr +
+ Fri Apr 11 23:23:10 CEST 2014 +

+
+ +
Hi,
+
+Still struggling with ssl.
+I decided to check what’s going on at the ssl module level. Did a step by step ssl connection using the erlang ssl doc.
+Found an error erlang:size badarg, but could not understand if it’s a problem with the key/cert files or with the data sent by the client.
+
+Any help welcomed. Thx
+
+Samir
+
+{ok, SSLSocket} = ssl:ssl_accept(Socket, [{cacertfile, "priv/cert/cacert.crt"}, {certfile, "priv/cert/server.crt"}, {keyfile, "priv/cert/server.key"}]).
+** exception exit: {{badarg,
+                        [{erlang,size,
+                             [[22,3,1,0,176,1,0,0,172,3,3,83,72,89,48,183,175,
+                               58,145,197,219|...]],
+                             []},
+                         {tls_record,get_tls_records_aux,2,
+                             [{file,"tls_record.erl"},{line,122}]},
+                         {tls_connection,next_tls_record,2,
+                             [{file,"tls_connection.erl"},{line,484}]},
+                         {tls_connection,handle_info,3,
+                             [{file,"tls_connection.erl"},{line,307}]},
+                         {gen_fsm,handle_msg,7,
+                             [{file,"gen_fsm.erl"},{line,503}]},
+                         {proc_lib,init_p_do_apply,3,
+                             [{file,"proc_lib.erl"},{line,239}]}]},
+                    {gen_fsm,sync_send_all_state_event,
+                        [<0.105.0>,{start,infinity},infinity]}}
+     in function  gen_fsm:sync_send_all_state_event/3 (gen_fsm.erl, line 242)
+     in call from ssl_connection:sync_send_all_state_event/2 (ssl_connection.erl, line 1649)
+     in call from ssl_connection:handshake/2 (ssl_connection.erl, line 97)
+     in call from tls_connection:start_fsm/8 (tls_connection.erl, line 81)
+     in call from ssl_connection:ssl_accept/7 (ssl_connection.erl, line 84)
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ 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 @@ + + + + [99s-extend] ssl + + + + + + + + + + +

[99s-extend] ssl

+ Loïc Hoguin + essen at ninenines.eu +
+ Fri Apr 11 23:31:36 CEST 2014 +

+
+ +
Please report it to erlang-bugs, you'll get better help with ssl bugs there.
+
+-- 
+Loïc Hoguin
+http://ninenines.eu
+
+-------- Original Message --------
+From:Samir Sow <samset at wanadoo.fr>
+Sent:Fri, 11 Apr 2014 23:23:10 +0200
+To:extend at lists.ninenines.eu
+Subject:[99s-extend] ssl
+
+>Hi,
+>
+>Still struggling with ssl.
+>I decided to check what’s going on at the ssl module level. Did a step by step ssl connection using the erlang ssl doc.
+>Found an error erlang:size badarg, but could not understand if it’s a problem with the key/cert files or with the data sent by the client.
+>
+>Any help welcomed. Thx
+>
+>Samir
+>
+>{ok, SSLSocket} = ssl:ssl_accept(Socket, [{cacertfile, "priv/cert/cacert.crt"}, {certfile, "priv/cert/server.crt"}, {keyfile, "priv/cert/server.key"}]).
+>** exception exit: {{badarg,
+>                        [{erlang,size,
+>                             [[22,3,1,0,176,1,0,0,172,3,3,83,72,89,48,183,175,
+>                               58,145,197,219|...]],
+>                             []},
+>                         {tls_record,get_tls_records_aux,2,
+>                             [{file,"tls_record.erl"},{line,122}]},
+>                         {tls_connection,next_tls_record,2,
+>                             [{file,"tls_connection.erl"},{line,484}]},
+>                         {tls_connection,handle_info,3,
+>                             [{file,"tls_connection.erl"},{line,307}]},
+>                         {gen_fsm,handle_msg,7,
+>                             [{file,"gen_fsm.erl"},{line,503}]},
+>                         {proc_lib,init_p_do_apply,3,
+>                             [{file,"proc_lib.erl"},{line,239}]}]},
+>                    {gen_fsm,sync_send_all_state_event,
+>                        [<0.105.0>,{start,infinity},infinity]}}
+>     in function  gen_fsm:sync_send_all_state_event/3 (gen_fsm.erl, line 242)
+>     in call from ssl_connection:sync_send_all_state_event/2 (ssl_connection.erl, line 1649)
+>     in call from ssl_connection:handshake/2 (ssl_connection.erl, line 97)
+>     in call from tls_connection:start_fsm/8 (tls_connection.erl, line 81)
+>     in call from ssl_connection:ssl_accept/7 (ssl_connection.erl, line 84)
+>_______________________________________________
+>Extend mailing list
+>Extend at lists.ninenines.eu
+>https://lists.ninenines.eu/listinfo/extend
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: <http://lists.ninenines.eu/archives/extend/attachments/20140411/9e3c6c32/attachment.html>
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000374.html b/archives/extend/2014-April/000374.html new file mode 100644 index 00000000..8a7da0fe --- /dev/null +++ b/archives/extend/2014-April/000374.html @@ -0,0 +1,83 @@ + + + + [99s-extend] [cowboy] Websocket with Firefox Android + + + + + + + + + + +

[99s-extend] [cowboy] Websocket with Firefox Android

+ Karim Gemayel + ka.gemayel at gmail.com +
+ Sun Apr 20 19:46:55 CEST 2014 +

+
+ +
Hello,
+
+Writing a Cowboy (0.9.0) Websocket server (running on Ubuntu 12.04 ; 
+Erlang R16B03), it works fine on Firefox Desktop but fails on Firefox 
+Android (28.0.1).
+
+When testing with the websocket_example, on client-side Websockets are 
+detected but nothing happens then, no connection seems to be initiated ; 
+and on server-side, despite having traces in all functions of 
+ws_handler.erl, nothing appears in the console.
+
+However when testing http://www.websocket.org/echo.html with Firefox 
+Android, it works.
+
+So before going for remote debugging Firefox, I was looking for similar 
+cases using Cowboy Websocket with Firefox Android. Is there a JavaScript 
+tip to manage Websocket connection in that case ? Am I missing something ?
+
+Thanks.
+
+-- 
+Karim Gemayel
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000375.html b/archives/extend/2014-April/000375.html new file mode 100644 index 00000000..e8a6e397 --- /dev/null +++ b/archives/extend/2014-April/000375.html @@ -0,0 +1,88 @@ + + + + [99s-extend] [cowboy] Websocket with Firefox Android + + + + + + + + + + +

[99s-extend] [cowboy] Websocket with Firefox Android

+ Loïc Hoguin + essen at ninenines.eu +
+ Sun Apr 20 19:50:07 CEST 2014 +

+
+ +
Try tracing the cowboy_websocket module?
+
+On 04/20/2014 07:46 PM, Karim Gemayel wrote:
+> Hello,
+>
+> Writing a Cowboy (0.9.0) Websocket server (running on Ubuntu 12.04 ;
+> Erlang R16B03), it works fine on Firefox Desktop but fails on Firefox
+> Android (28.0.1).
+>
+> When testing with the websocket_example, on client-side Websockets are
+> detected but nothing happens then, no connection seems to be initiated ;
+> and on server-side, despite having traces in all functions of
+> ws_handler.erl, nothing appears in the console.
+>
+> However when testing http://www.websocket.org/echo.html with Firefox
+> Android, it works.
+>
+> So before going for remote debugging Firefox, I was looking for similar
+> cases using Cowboy Websocket with Firefox Android. Is there a JavaScript
+> tip to manage Websocket connection in that case ? Am I missing something ?
+>
+> Thanks.
+>
+
+-- 
+Loïc Hoguin
+http://ninenines.eu
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000376.html b/archives/extend/2014-April/000376.html new file mode 100644 index 00000000..60f40fb0 --- /dev/null +++ b/archives/extend/2014-April/000376.html @@ -0,0 +1,84 @@ + + + + [99s-extend] [cowboy] Websocket with Firefox Android + + + + + + + + + + +

[99s-extend] [cowboy] Websocket with Firefox Android

+ Karim Gemayel + ka.gemayel at gmail.com +
+ Sun Apr 20 20:28:16 CEST 2014 +

+
+ +
On 04/20/2014 07:50 PM, Loïc Hoguin wrote:
+> Try tracing the cowboy_websocket module?
+
+The same case happens, no logs at all from Android whereas logs appear 
+from Desktop.
+
+I've attached the traces diffs.
+
+-- 
+Karim Gemayel
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: cowboy_websocket.diff
+Type: text/x-patch
+Size: 5780 bytes
+Desc: not available
+URL: <http://lists.ninenines.eu/archives/extend/attachments/20140420/bf45e4d0/attachment.bin>
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: websocket_example.diff
+Type: text/x-patch
+Size: 2413 bytes
+Desc: not available
+URL: <http://lists.ninenines.eu/archives/extend/attachments/20140420/bf45e4d0/attachment-0001.bin>
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000377.html b/archives/extend/2014-April/000377.html new file mode 100644 index 00000000..654943ab --- /dev/null +++ b/archives/extend/2014-April/000377.html @@ -0,0 +1,89 @@ + + + + [99s-extend] [cowboy] Websocket with Firefox Android + + + + + + + + + + +

[99s-extend] [cowboy] Websocket with Firefox Android

+ Loïc Hoguin + essen at ninenines.eu +
+ Sun Apr 20 20:30:55 CEST 2014 +

+
+ +
You really should take a look at tracing using dbg at some point. :-)
+
+But yeah if you don't get the upgrade function output and you are 
+testing against the Websocket example then I doubt the request even 
+reaches the server.
+
+As for why, I have no idea.
+
+On 04/20/2014 08:28 PM, Karim Gemayel wrote:
+> On 04/20/2014 07:50 PM, Loïc Hoguin wrote:
+>> Try tracing the cowboy_websocket module?
+>
+> The same case happens, no logs at all from Android whereas logs appear
+> from Desktop.
+>
+> I've attached the traces diffs.
+>
+>
+>
+> _______________________________________________
+> 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
+ diff --git a/archives/extend/2014-April/000378.html b/archives/extend/2014-April/000378.html new file mode 100644 index 00000000..b74a3401 --- /dev/null +++ b/archives/extend/2014-April/000378.html @@ -0,0 +1,82 @@ + + + + [99s-extend] [cowboy] Websocket with Firefox Android + + + + + + + + + + +

[99s-extend] [cowboy] Websocket with Firefox Android

+ Karim Gemayel + ka.gemayel at gmail.com +
+ Sun Apr 20 20:49:34 CEST 2014 +

+
+ +
On 04/20/2014 08:30 PM, Loïc Hoguin wrote:
+> You really should take a look at tracing using dbg at some point. :-)
+
+Yes, true. Actually, dbg is on my to-learn list. :)
+
+> But yeah if you don't get the upgrade function output and you are
+> testing against the Websocket example then I doubt the request even
+> reaches the server.
+>
+> As for why, I have no idea.
+
+That's a bit frustrating because the app is supposed to be used 
+primarily on mobile, so it seems I have to implement an HTTP fallback 
+that I didn't want to implement.
+
+I'll have to go for Firefox remote debugging, so.
+
+Thanks anyway.
+
+-- 
+Karim Gemayel
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000379.html b/archives/extend/2014-April/000379.html new file mode 100644 index 00000000..d035c834 --- /dev/null +++ b/archives/extend/2014-April/000379.html @@ -0,0 +1,71 @@ + + + + [99s-extend] [cowboy] Websocket with Firefox Android + + + + + + + + + + +

[99s-extend] [cowboy] Websocket with Firefox Android

+ Karim Gemayel + ka.gemayel at gmail.com +
+ Sun Apr 20 22:47:08 CEST 2014 +

+
+ +
On 04/20/2014 08:49 PM, Karim Gemayel wrote:
+> I'll have to go for Firefox remote debugging, so.
+
+Erm, finally it does work if I set up the correct IP for the Websocket 
+server - localhost is unknown on the LAN...
+
+And it works nicely. Thanks !
+
+-- 
+Karim Gemayel
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000380.html b/archives/extend/2014-April/000380.html new file mode 100644 index 00000000..626411ed --- /dev/null +++ b/archives/extend/2014-April/000380.html @@ -0,0 +1,71 @@ + + + + [99s-extend] [cowboy] SSL client authentication + + + + + + + + + + +

[99s-extend] [cowboy] SSL client authentication

+ Karim Gemayel + ka.gemayel at gmail.com +
+ Mon Apr 28 18:01:07 CEST 2014 +

+
+ +
Hello,
+
+I'm looking to use SSL client certificate for authentication with 
+Cowboy, but according to the Farwest roadmap this feature is not 
+implemented. Is this correct ?
+
+Would Nginx + Cowboy be an alternate solution ?
+
+-- 
+Karim Gemayel
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000381.html b/archives/extend/2014-April/000381.html new file mode 100644 index 00000000..ea10c9ff --- /dev/null +++ b/archives/extend/2014-April/000381.html @@ -0,0 +1,76 @@ + + + + [99s-extend] [cowboy] SSL client authentication + + + + + + + + + + +

[99s-extend] [cowboy] SSL client authentication

+ Loïc Hoguin + essen at ninenines.eu +
+ Mon Apr 28 18:04:47 CEST 2014 +

+
+ +
http://ninenines.eu/docs/en/ranch/HEAD/guide/ssl_auth/
+
+On 04/28/2014 06:01 PM, Karim Gemayel wrote:
+> Hello,
+>
+> I'm looking to use SSL client certificate for authentication with
+> Cowboy, but according to the Farwest roadmap this feature is not
+> implemented. Is this correct ?
+>
+> Would Nginx + Cowboy be an alternate solution ?
+>
+
+-- 
+Loïc Hoguin
+http://ninenines.eu
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/000382.html b/archives/extend/2014-April/000382.html new file mode 100644 index 00000000..8c262edd --- /dev/null +++ b/archives/extend/2014-April/000382.html @@ -0,0 +1,66 @@ + + + + [99s-extend] [cowboy] SSL client authentication + + + + + + + + + + +

[99s-extend] [cowboy] SSL client authentication

+ Karim Gemayel + ka.gemayel at gmail.com +
+ Mon Apr 28 18:12:46 CEST 2014 +

+
+ +
On 04/28/2014 06:04 PM, Loïc Hoguin wrote:
+> http://ninenines.eu/docs/en/ranch/HEAD/guide/ssl_auth/
+
+Thanks !
+
+-- 
+Karim Gemayel
+
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ diff --git a/archives/extend/2014-April/author.html b/archives/extend/2014-April/author.html new file mode 100644 index 00000000..1f765f04 --- /dev/null +++ b/archives/extend/2014-April/author.html @@ -0,0 +1,142 @@ + + + + The Extend April 2014 Archive by author + + + + + +

April 2014 Archives by author

+ +

Starting: Tue Apr 8 11:11:07 CEST 2014
+ Ending: Mon Apr 28 18:12:46 CEST 2014
+ Messages: 19

+

+

+ Last message date: + Mon Apr 28 18:12:46 CEST 2014
+ Archived on: Wed May 28 18:41:47 CEST 2014 +

+

+

+


+ This archive was generated by + Pipermail 0.09 (Mailman edition). + + + diff --git a/archives/extend/2014-April/date.html b/archives/extend/2014-April/date.html new file mode 100644 index 00000000..c8d03130 --- /dev/null +++ b/archives/extend/2014-April/date.html @@ -0,0 +1,142 @@ + + + + The Extend April 2014 Archive by date + + + + + +

April 2014 Archives by date

+ +

Starting: Tue Apr 8 11:11:07 CEST 2014
+ Ending: Mon Apr 28 18:12:46 CEST 2014
+ Messages: 19

+

+

+ Last message date: + Mon Apr 28 18:12:46 CEST 2014
+ Archived on: Wed May 28 18:41:47 CEST 2014 +

+

+

+


+ This archive was generated by + Pipermail 0.09 (Mailman edition). + + + diff --git a/archives/extend/2014-April/index.html b/archives/extend/2014-April/index.html new file mode 100644 index 00000000..2087e02b --- /dev/null +++ b/archives/extend/2014-April/index.html @@ -0,0 +1,179 @@ + + + + The Extend April 2014 Archive by thread + + + + + +

April 2014 Archives by thread

+ +

Starting: Tue Apr 8 11:11:07 CEST 2014
+ Ending: Mon Apr 28 18:12:46 CEST 2014
+ Messages: 19

+

+

+ Last message date: + Mon Apr 28 18:12:46 CEST 2014
+ Archived on: Wed May 28 18:41:47 CEST 2014 +

+

+

+


+ This archive was generated by + Pipermail 0.09 (Mailman edition). + + + diff --git a/archives/extend/2014-April/subject.html b/archives/extend/2014-April/subject.html new file mode 100644 index 00000000..16a9826e --- /dev/null +++ b/archives/extend/2014-April/subject.html @@ -0,0 +1,142 @@ + + + + The Extend April 2014 Archive by subject + + + + + +

April 2014 Archives by subject

+ +

Starting: Tue Apr 8 11:11:07 CEST 2014
+ Ending: Mon Apr 28 18:12:46 CEST 2014
+ Messages: 19

+

+

+ Last message date: + Mon Apr 28 18:12:46 CEST 2014
+ Archived on: Wed May 28 18:41:47 CEST 2014 +

+

+

+


+ This archive was generated by + Pipermail 0.09 (Mailman edition). + + + diff --git a/archives/extend/2014-April/thread.html b/archives/extend/2014-April/thread.html new file mode 100644 index 00000000..2087e02b --- /dev/null +++ b/archives/extend/2014-April/thread.html @@ -0,0 +1,179 @@ + + + + The Extend April 2014 Archive by thread + + + + + +

April 2014 Archives by thread

+ +

Starting: Tue Apr 8 11:11:07 CEST 2014
+ Ending: Mon Apr 28 18:12:46 CEST 2014
+ Messages: 19

+

+

+ Last message date: + Mon Apr 28 18:12:46 CEST 2014
+ Archived on: Wed May 28 18:41:47 CEST 2014 +

+

+

+


+ This archive was generated by + Pipermail 0.09 (Mailman edition). + + + -- cgit v1.2.3