ssl-test
ssl-test copied to clipboard
How to use proxy
Hi There! How are you?
I have a important question here... I'm using this gem on my project, but I need use a proxy to external network. How can I insert a proxy to get this access. Is it possible today?
Hi,
This is not supported officially by the gem currently but I believe you can already tell Net::HTTP
(what this gem is using) to use a proxy globally with an env variable, see: https://stackoverflow.com/a/23778707
With something like:
ENV['http_proxy'] = 'http://172.16.3.160:4226' # your http://address:port here
If you want to add native proxy configuration to this gem feel free to open a pull request ;)