https problem supporting .pfx in file tls.js #5198

fuentecilla86 opened this Issue Apr 2, 2013 · 1 comment


None yet
2 participants


I've been trying to proxy http request from https. With the version 0.6.12 that I downloaded from the repository everything worked fine but I downloaded the last version v0.10.2 and I have had a problem.

The problem is due to the tls.js file. Compared with the version that worked perfectly (0.6.12) has been added the following "if" in the function Server:

if (!self.pfx && (!self.cert || !self.key)) {
throw new Error('Missing PFX or certificate + private key.');

It means that it is neccessary the .pfx key, but why? I would like to use just my private (.key) and my public key (crt) for the certificate.

Could anyone help me?

Thanks in advance!


bnoordhuis commented Apr 2, 2013

It means you need to pass it a key, a certificate or a PFX. Not a bug, closing.

bnoordhuis closed this Apr 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment