[nodejs] Re: Question about node v0.8.9, client certificates, and websockets....

2012-09-26 Thread Manny Figudore
So after much debugging, giving up, then trying with the Faye package for node - I have a working example. I had to mod Faye to get tls.connect the certs but it does work with rejectUnauthorized:true. On Wednesday, September 26, 2012 12:43:02 PM UTC-4, Manny Figudore wrote: > > All, > > I was pl

Re: [nodejs] Re: Question about node v0.8.9, client certificates, and websockets....

2013-01-15 Thread Linus MÃ¥rtensson
I had a project that forced me to look into this today, and I discovered the issue. For anyone interested, here's why this fails and how to solve it: If you set rejectUnauthorized to false and look at the authorization error on the server side, you'll see that there was an error accepting the c

Re: [nodejs] Re: Question about node v0.8.9, client certificates, and websockets....

2012-09-26 Thread James Coglan
On 27 September 2012 04:28, Manny Figudore wrote: > So after much debugging, giving up, then trying with the Faye package for > node - I have a working example. I had to mod Faye to get tls.connect the > certs but it does work with rejectUnauthorized:true. I maintain Faye, can you show me what y

Re: [nodejs] Re: Question about node v0.8.9, client certificates, and websockets....

2012-09-27 Thread Manny Figudore
I was going to get you a pull request last night but it was late. Work will have me busy until this afternoon but I will try to get you a pull tonight. On Thursday, September 27, 2012 1:57:15 AM UTC-4, James Coglan wrote: > > On 27 September 2012 04:28, Manny Figudore > > wrote: > >> So after mu