On Tue, Mar 6, 2012 at 00:21, Martin Lundberg <[email protected]> wrote:
> I want to connect to a server which requires the clients to use client
> certificates. I've got this https://gist.github.com/1981698 but ass you can
> see I'm getting an error. How am I supposed to do this? I've got it working
> in PHP but would like to know how to do it in node.js.
>From your gist:
var options = {
cert: fs.readFileSync('cert.pem'),
passphrase: 'passphrase'
}
Passphrases are only supported for private keys right now, not client
certificates.
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en