ruby on rails 4 - disable ssl verification on gem active_rest_client -


i'm creating model in ruby/rails uses gem "active-rest_client" (https://github.com/whichdigital/active-rest-client). target server 'speaks' https mismatched ssl cert. need disable ssl verification when query (long story, accept that).

the gem doesn't seem have native way disable ssl verification. however, relies on faraday gem can disable ssl verification (https://gist.github.com/mislav/938183).

when do:

activerestclient::base.faraday_config |faraday|   faraday.ssl = false end 

it tells me "ssl" undefined method.

does know way?

thanks in advance!


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -