ncr / rack-proxy

A request/response rewriting HTTP proxy. A Rack app.
MIT License
269 stars 94 forks source link

Disable SSL verify not working for us #36

Closed glongman closed 10 years ago

glongman commented 10 years ago

we are setting the ssl_verify_none flag but are still having problems.

debugging though, it appears that setting http.verify_mode here

https://github.com/ncr/rack-proxy/blob/master/lib/rack/proxy.rb#L102

is too late. the exception has already been thrown. looks like verify_mode needs to be specified as an option to HTTP.start which encloses the current call to http.verify_mode