Bugzilla – Bug 132324
Ruby OpenSSL extension can't find ciphers
Last modified: 2006-02-07 15:40:32 UTC
You get this message: /usr/lib/ruby/1.8/net/https.rb:116:in `new': SSL_CTX_new:: library has no ciphers (OpenSSL::SSL::SSLError) (I am using stable)
[[[ $ cat ssl.rb require 'net/https' site = Net::HTTP.new('kotrus.suse.de', 443) # use SSL, no certification verification site.verify_mode = OpenSSL::SSL::VERIFY_NONE p site.get('/') ]]] peter this happens only with openssl 0.9.8 with ruby 1.8.3 on SL10.0 it works just nice. did they change anything in the openssl api usage?
ruby 1.8.4 and openssl 0.9.8 on Darwin don't show the problem. Investigating... both packages are built without any patches that could be related...
another weird point i have with ruby and ssl atm: "make check" fails on ppc64 within the openssl part.
Marcus: It seems the problems are gone. Please recheck and close the bug if it is fixed. tait:~# cat ssltest.rb require 'net/https' site = Net::HTTP.new('kotrus.suse.de', 443) # use SSL, no certification verification site.verify_mode = OpenSSL::SSL::VERIFY_NONE p site.get('/') tait:~# ruby ssltest.rb #<Net::HTTPOK 200 OK readbody=true> tait:~# rpm -q ruby ruby-1.8.4-3 tait:~# rpm -q openssl openssl-0.9.8a-7
it looks they fixed the ruby bindings. looking at the compile log is still not fun. but i will fix those in a spare moment.