Bug 132324 - Ruby OpenSSL extension can't find ciphers
Summary: Ruby OpenSSL extension can't find ciphers
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Alpha 2plus
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Marcus Rückert
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-04 15:42 UTC by Duncan Mac-Vicar
Modified: 2006-02-07 15:40 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.