[nodejs] TLS/NPN and the HTTP server API

2013-07-12 Thread Daniel Lamando
Hey all, I hope this question is appropriate for this forum, as I've been attempting to google my issue but haven't gotten very far. I am running a TLS server and offering a few protocols via NPN, one of which is http/1.1. When clients request http/1.1 I want to provide a normal HTTP server to

Re: [nodejs] TLS/NPN and the HTTP server API

2013-07-13 Thread Daniel Lamando
Well that seems obvious enough - the event is even listed in the http module's docs, but it's not mentioned that emitting it works like that. I'll try it On Friday, July 12, 2013 5:21:23 PM UTC-4, Ben Noordhuis wrote: > > On Fri, Jul 12, 2013 at 2:59 AM, Daniel Lamando &

[nodejs] TLS module presents me with the peer certificate. How do I get the local certificate info too?

2015-11-25 Thread Daniel Lamando
Hey, I'm working with an involved implementation of the TLS protocol, with two different ports, both requiring client certs. Port n: *Control* channel. Connections are only accepted from known client certificates. Port n+1: *Pairing* channel. Any certificate can connect. A final challenge confi