Issue #8461 has been updated by zzak (Zachary Scott).

Category set to lib
Status changed from Open to Assigned
Assignee set to kou (Kouhei Sutou)


----------------------------------------
Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
https://bugs.ruby-lang.org/issues/8461#change-39640

Author: herwinw (Herwin Weststrate)
Status: Assigned
Priority: Low
Assignee: kou (Kouhei Sutou)
Category: lib
Target version: 


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)


-- 
http://bugs.ruby-lang.org/