Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPs Forward proxy? #453

Closed
runk opened this issue Aug 22, 2013 · 9 comments
Closed

HTTPs Forward proxy? #453

runk opened this issue Aug 22, 2013 · 9 comments

Comments

@runk
Copy link

runk commented Aug 22, 2013

Is it possible to use the module in https forward mode? I've tried different examples, though without any luck. It works fine for me in reverse proxy mode.

Basically when I try to do:

curl -x localhost:8080 https://github.com

the proxy doesn't respond anything.


Further, is it possible to intercept data in https proxy mode? Like web debugging proxies do, eg. Charles.

@kalebdf
Copy link

kalebdf commented Nov 19, 2013

I'd be interested in a solution to this: HTTP localhost --> HTTPS remote service.

On a possibly related note, I couldn't get the vows tests in npm test to pass on my Mac (npm 1.2.18 and node 0.10.5)

@cronopio
Copy link
Contributor

cronopio commented Dec 9, 2013

There is an example right now in the better-examples branch feel free to check it out and close this issue. Also if you got further questions the discuss is here #520

@yawnt
Copy link
Contributor

yawnt commented Dec 18, 2013

@kalebdf please check out the branch caronte in this repo, master is not compatible with 0.10.x

@runk runk closed this as completed Dec 19, 2013
@damiga
Copy link

damiga commented Dec 24, 2013

better-examples is not accessible anymore.
I'm looking to setup an HTTPS forward proxy as well, like the example: curl -x localhost:8080 https://github.com can you please send me an updated link or demo? also, for production, should I use caronte or the regular version?

Any step by step on how to generate the certificate and install it on the client browser (enterprise use case) so that the clients will not get the typical SSL warning?

@runk
Copy link
Author

runk commented Jan 6, 2014

@damiga
Copy link

damiga commented Jan 6, 2014

Have you been able to make it work in SSL man in the middle mode? (forward https to https)?

@runk
Copy link
Author

runk commented Jan 6, 2014

Nope. I needed this functionality to create a caching proxy for npm registry, but was unable to get it working. Eventually I did everything myself :) You can get a look at repo https://github.com/runk/npm-proxy-cache and particularly https://github.com/runk/npm-proxy-cache/blob/master/lib/proxy.js file. You can get an idea of how it's working there.

@0xgeert
Copy link

0xgeert commented May 12, 2016

hi @runk. Looked at your code but quick question: do I understand correctly that I need an external proxy server running (as identified by mitmSocketPath) ? I hoped this was a self-containing https forward proxy. Any help much appreciated

@runk
Copy link
Author

runk commented May 13, 2016

@gebrits nope, it's just an option to set a path where internal https server keeps its spocket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants