Open javierpavon2000 opened 9 years ago
I'm curious if there's a way to do this too. I opened a Stack Overflow question on it the other day: http://stackoverflow.com/questions/30331618/node-http-proxy-to-https-server-with-client-certificate
For sure it's possible for http-proxy to use a client certificate. I just answered that Stack Overflow question, although I used the key
, cert
, and ca
options instead of the pfx
option. I think the example will still work if you use the pfx
option instead.
Here's a working demo: https://gist.github.com/briangreenery/e2f03c0058e3589a9acf
I'm trying to perform a proxy to an url that needs a client certificate. The context is:
Now, I've defined an object like that
and the, I create the proxy
But, it doesn't work, the request always returns a 403 status code.
Am I doing something wrong? Any help? Thanks