I found this:
http://stackoverflow.com/questions/11399986/how-can-i-upgrade-a-socket-to-tls-in-node

which gave me this:
https://github.com/andris9/rai/blob/master/lib/starttls.js

which perfectly solved my problem, except I ran into this:
https://github.com/joyent/node/issues/5140

which I eventually discovered had to do with this:
https://github.com/joyent/node/issues/5190

My solution is now working, but only in node v0.10 -- and I need it in v0.8 
(or else I have to hunt down and verify all my other socket code)

In v0.8, curl -v stops after the "SSLv2, Client hello(1)" line. In v0.10, 
it continues past that to list the client's supported ciphers and all that, 
and gets on with its business.

I don't know how I can debug this, since it seems to be internal to node, 
or perhaps openssl. Is anyone familiar with the specifics of these bits and 
can maybe help me out?

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to