Bug 132324

Summary: Ruby OpenSSL extension can't find ciphers
Product: [openSUSE] SUSE Linux 10.1 Reporter: Duncan Mac-Vicar <dmacvicar>
Component: OtherAssignee: Marcus Rückert <mrueckert>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Alpha 2plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Duncan Mac-Vicar 2005-11-04 15:42:09 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)
Comment 1 Marcus Rückert 2005-11-07 16:21:52 UTC
[[[
$ 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?
Comment 2 Peter Poeml 2006-01-17 12:23:31 UTC
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...
Comment 3 Marcus Rückert 2006-01-17 13:10:46 UTC
another weird point i have with ruby and ssl atm:
"make check" fails on ppc64 within the openssl part.
Comment 4 Michael Calmer 2006-01-18 10:50:56 UTC
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
Comment 5 Marcus Rückert 2006-02-07 15:40:32 UTC
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.