pocesar/node-jsonrpc2

SSL support

medokin opened this issue · 2 comments

Is SSL supported? The server i'm requesting refuses the connection.

not currently, but it can be easily extended to support SSL, creating a new endpoint and a new listenSecure (just a suggestion). Since node 0.10 uses ClearTextStream (that will change in node 0.12) instead of direct socket access, it can be passed as a socket directly to the Client class, instead of the socket.

But SSL can refer to both HTTPS and TLS, which one do you mean?

client support : #9, for server you can use a proxy, at least it's what we do with nginx