JRuby

OpenSSL::X509::Request can't be created from PEM content.

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: JRuby-OpenSSL 0.5
  • Fix Version/s: JRuby-OpenSSL 0.5.1
  • Component/s: OpenSSL
  • Labels:
    None
  • Environment:
    Mac OSX 10.5, jruby-openssl 0.5, jruby 1.3.0RC2 (ruby 1.8.6p287) (2009-05-21 3aadd8a) (Java HotSpot(TM) Client VM 1.5.0_16) [i386-java]
  • Testcase included:
    yes
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

While (still) trying to run Puppet with JRuby, I discovered that it isn't possible to create an OpenSSL::X509::Request object with PEM content read from disk. This capability is fundamental for Puppet to run (on a side note, Puppet is a good candidate for SSL works as it uses things in a different way than Net::HTTPS).

Please check the enclosed patch & ruby unit test, and apply if it meets your code requirements.

I didn't push the patch to my github repository, but it is possible if you want to merge directly.

Activity

Hide
Brice Figureau added a comment -

Note this patch is to be applied on top of the one in JRUBY-3689

Show
Brice Figureau added a comment - Note this patch is to be applied on top of the one in JRUBY-3689
Hide
Charles Oliver Nutter added a comment -

There seems to be no patch attached...

Show
Charles Oliver Nutter added a comment - There seems to be no patch attached...
Hide
Brice Figureau added a comment -

Oops, sorry, here it is.

Show
Brice Figureau added a comment - Oops, sorry, here it is.
Hide
Charles Oliver Nutter added a comment -

Applied via Github fork queue. Thank you!

Show
Charles Oliver Nutter added a comment - Applied via Github fork queue. Thank you!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: