IronRuby doesn't fully implement OpenSLL class yet. Contributions would be appreciated :).
Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jason Diller Sent: Monday, March 22, 2010 4:51 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] ETIMEDOUT error code Further to my previous question about SSL. here are the details of what is failing: http.verify_mode = OpenSSL::SSL::VERIFY_PEER #the following line causes a 'nomethoderror' because ca_file is undefined http.ca_file = File.dirname(__FILE__) + 'somecert.pem' If I attempt to work around that error by omitting setting the ca_file and setting the verify_mode to VERIFY_NONE I later (from the 'connect' method in http.rb) get a NameError because OpenSSL::SSL::SSLSocket is also undefined. I'm wondering if I'm missing an OpenSSL library/gem or if the SSL support is still to come in IronRuby. Could someone poke me in the right direction? On 20/03/2010 5:56 PM, Jason Diller wrote: I have been attempting to get an existing Ruby lib running under IronRuby. The first problem I hit was that there was no definition for the ETIMEDOUT error code in IR, so I added it and humbly submit my changes as a patch for your consideration. I'm currently running into problems because the library I'm using makes HTTPS calls and from my point of view as a raw noob to both IR and Ruby itself it appears that HTTPS support (via OpenSSL?) is missing from IronRuby. Is this the case? (I'm sure there's a better than zero chance that I'm just missing a dependency of some sort as well). Jason _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core