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 certificate error when proxying to server with self-signed certificate #214
Comments
This is sooooo needed fix - especially if I'm using this for proxying in development where I have multiple backends and all of them with self signed cert. |
Any news on this ? |
In my mac I did the following hack (Because I have no time to make a PR)
Caveats: This is a developer's solution to a developer's problem. You should not make this change in a production environment or something like that. I personally would set this as a cli config parameter. |
In development we often deal with dev. servers which have self-signed SSL certificate. If I use --proxy option pointing to such a server - I get following error upon proxy attempt:
This will not happen if you pass
secure: false
option tohttpProxy.createProxyServer
. You can do it by default or enable with some option. I can compose a pull request if you like.The text was updated successfully, but these errors were encountered: