Skip to content
New issue

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

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

Already on GitHub? # to your account

cannot proxy to service over SSL with self-signed cert #50

Open
laurie71 opened this issue Dec 29, 2011 · 1 comment
Open

cannot proxy to service over SSL with self-signed cert #50

laurie71 opened this issue Dec 29, 2011 · 1 comment

Comments

@laurie71
Copy link

Proxying to a service using SSL with a self-signed certificate results in an error: "Proxy settings are NOT ENABLED". That's misleading, given that proxying a service and using an HTTP proxy for outbound requests are unrelated. The actual error is an SSLPeerUnverifiedException, thrown from httpclient.execute() in ClientExecuteProxy. Unfortunately, that gets caught and Mockey reports a problem with the proxy configuration. The SSL error is logged, but it's easily missed...

At minimum I'd like to see the problem surfaced in the service history (rather than mis-diagnosed as a problem with the HTTP proxy config). Better yet would be a way to allow self-signed certs, as Mockey is currently unusable in this situation (and I don't have control over the remote service to either allow HTTP requests or replace the self-signed cert).

@clafonta
Copy link
Owner

I'll look into this in mid-january; currently on vacation.

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

No branches or pull requests

2 participants