Project

General

Profile

Actions

Feature #8461

closed

Easy way to disable certificate checking in XMLRPC::Client

Added by herwinw (Herwin Quarantainenet) almost 11 years ago. Updated almost 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)

Updated by zzak (zzak _) almost 11 years ago

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

Updated by kou (Kouhei Sutou) almost 11 years ago

It seems that lib/xmlrpc/ doesn't have maintainer. (cf. https://bugs.ruby-lang.org/projects/ruby/wiki/Maintainers )
So I'm not a maintainer of lib/xmlrpc/. I don't know why I was assigned this ticket. (I think zzak mistook. :-)

By the way, I can become a maintainer of lib/xmlrpc/ If nobody objects it, I will handle this ticket.

Updated by zzak (zzak _) almost 11 years ago

Whoops! :+1:

On Mon, Jun 3, 2013 at 10:13 AM, kou (Kouhei Sutou) wrote:

Issue #8461 has been updated by kou (Kouhei Sutou).

It seems that lib/xmlrpc/ doesn't have maintainer. (cf. https://bugs.ruby-lang.org/projects/ruby/wiki/Maintainers )
So I'm not a maintainer of lib/xmlrpc/. I don't know why I was assigned this ticket. (I think zzak mistook. :-)

By the way, I can become a maintainer of lib/xmlrpc/ If nobody objects it, I will handle this ticket.


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

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/

Updated by ko1 (Koichi Sasada) almost 11 years ago

(2013/06/03 10:13), kou (Kouhei Sutou) wrote:

By the way, I can become a maintainer of lib/xmlrpc/ If nobody objects it, I will handle this ticket.

Great!

--
// SASADA Koichi at atdot dot net

Updated by matz (Yukihiro Matsumoto) almost 11 years ago

The new maintainer accepted.

Matz.

Updated by kou (Kouhei Sutou) almost 11 years ago

Thanks for accepting it.
I'll check this and other XMLRPC related tickets. (I go traveling in this week.)

Actions #7

Updated by kou (Kouhei Sutou) almost 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r41286.
Herwin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/xmlrpc/client.rb (XMLRPC::Client#http): Add reader for raw
    Net::HTTP. [ruby-core:55197] [Feature #8461]
    Reported by Herwin Weststrate. Thanks!!!

Updated by kou (Kouhei Sutou) almost 11 years ago

I've added XMLRPC::Client#http. Use it like:

c = XMLRPC::Client.new(....)
c.http.verify_mode = OpenSSL::SSL::VERIFY_NONE

Updated by naruse (Yui NARUSE) almost 11 years ago

  • Status changed from Closed to Assigned

kou (Kouhei Sutou) wrote:

I've added XMLRPC::Client#http. Use it like:

c = XMLRPC::Client.new(....)
c.http.verify_mode = OpenSSL::SSL::VERIFY_NONE

Could you edit NEWS to introduce the new feature?

Updated by zzak (zzak _) almost 11 years ago

Hello,

On Fri, Jun 14, 2013 at 12:06 AM, naruse (Yui NARUSE) wrote:

Could you edit NEWS to introduce the new feature?

+1

Actions #11

Updated by kou (Kouhei Sutou) almost 11 years ago

  • Status changed from Assigned to Closed

This issue was solved with changeset r41329.
Herwin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0