Project

General

Profile

Actions

Feature #8461

closed

Easy way to disable certificate checking in XMLRPC::Client

Added by herwinw (Herwin Quarantainenet) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
-
[ruby-core:55197]

Description

I have an awful lot of XMLRPC code that does the following:

c = XMLRPC::Client.new(....)
c.instance_variable_get(:@http).instance_variable_set(:@verify_mode, OpenSSL::SSL::VERIFY_NONE)

It would be nice if some syntactic sugar would be added so I could just do something like this:

c.set_ssl_verify_mode(OpenSSL::SSL::VERIFY_NONE)

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0