Joshua Sierles
2005-Dec-19 04:18 UTC
OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
OpenSSL::SSL::SSLError: SSL_CTX_new:: library has no ciphers This error is thrown whenever I use anything that uses Net::HTTP. OS X Tiger, ruby 1.8.2 (2004-12-25) [powerpc-darwin8.2.1] What could it mean? Joshua Sierles
Jonathan Younger
2005-Dec-19 05:17 UTC
Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
It means that the ruby that ships with OS X is busted and you''ll need to compile from source or use something like darwin ports or fink. -Jonathan On Dec 18, 2005, at 8:18 PM, Joshua Sierles wrote:> OpenSSL::SSL::SSLError: SSL_CTX_new:: library has no ciphers > > This error is thrown whenever I use anything that uses Net::HTTP. OS X > Tiger, ruby 1.8.2 (2004-12-25) [powerpc-darwin8.2.1] > > What could it mean? > > Joshua Sierles > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Chris Boone
2005-Dec-19 19:43 UTC
Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
On 12/19/05, Jonathan Younger <daikini@gmail.com> wrote:> It means that the ruby that ships with OS X is busted and you'll need > to compile from source or use something like darwin ports or fink.Does anyone know if the last security update (2005-009), which included an upgrade to OpenSSL 0.9.7i, fixed this problem? Or affected it in any way? More info on the update: http://docs.info.apple.com/article.html?artnum=302847 -- Chris Boone http://hypsometry.com/ : website edification http://uvlist.org/ : free classifieds for the Upper Valley _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Brian Coates
2005-Dec-21 01:20 UTC
Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
Jonathan Younger wrote:> It means that the ruby that ships with OS X is busted and you''ll need > to compile from source or use something like darwin ports or fink. > > -JonathanI''m getting the same error. However, I have installed ruby via DarwinPorts. For kicks, I also installed the "fixed" rbconfig.rb file in my machine as detailed here (http://wiki.rubyonrails.com/rails/pages/RailsOnOsx#5) and have also disabled Apple''s Ruby by renaming it to /usr/bin/ruby.apple. Is there anything else I should be doing? -- Posted via http://www.ruby-forum.com/.
Kyle Maxwell
2005-Dec-21 01:33 UTC
Re: Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
Try ruby 1.8.3? gem update everything? On 12/20/05, Brian Coates <brdoco-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Jonathan Younger wrote: > > It means that the ruby that ships with OS X is busted and you''ll need > > to compile from source or use something like darwin ports or fink. > > > > -Jonathan > > I''m getting the same error. However, I have installed ruby via > DarwinPorts. For kicks, I also installed the "fixed" rbconfig.rb file > in my machine as detailed here > (http://wiki.rubyonrails.com/rails/pages/RailsOnOsx#5) and have also > disabled Apple''s Ruby by renaming it to /usr/bin/ruby.apple. > > Is there anything else I should be doing? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Brian Coates
2005-Dec-21 03:14 UTC
Re: Re: OpenSSL ''no ciphers'' error on OS X when using Net::H
Kyle Maxwell wrote:> Try ruby 1.8.3? gem update everything?No, I haven''t... mainly because the main RubyOnRails.com recommends 1.8.2 for use with Rails. I''m also already up-to-date with everything I installed with Gem. -- Posted via http://www.ruby-forum.com/.
Anyone -- Was a solution to this ever found? (I''m having the same issue, when trying to to "./script plugin discover") Regards, EJC Brian Coates wrote:> Kyle Maxwell wrote: >> Try ruby 1.8.3? gem update everything? > > No, I haven''t... mainly because the main RubyOnRails.com recommends > 1.8.2 for use with Rails. I''m also already up-to-date with everything I > installed with Gem.-- Posted via http://www.ruby-forum.com/.
Duane Johnson
2006-Jan-09 07:21 UTC
[Rails] Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
On Dec 29, 2005, at 12:44 PM, Ed C. wrote:> Anyone -- > > Was a solution to this ever found? (I''m having the same issue, when > trying to to "./script plugin discover") > > Regards, > EJC >Anyone? I''m also in the "I compiled Ruby myself and I''m still getting this troublesome message" group. Duane Johnson (canadaduane) http://blog.inquirylabs.com/
Duane Johnson
2006-Jan-09 07:21 UTC
[Rails] Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
On Dec 29, 2005, at 12:44 PM, Ed C. wrote:> Anyone -- > > Was a solution to this ever found? (I''m having the same issue, when > trying to to "./script plugin discover") > > Regards, > EJCJust to be more specific, here''s what I''m seeing: 86$ ruby script/plugin discover /opt/local/lib/ruby/1.8/net/protocols.rb:38:in `new'': SSL_CTX_new:: library has no ciphers (OpenSSL::SSL::SSLError) from /opt/local/lib/ruby/1.8/net/protocols.rb:38:in `initialize'' from /opt/local/lib/ruby/1.8/net/http.rb:430:in `open'' from /opt/local/lib/ruby/1.8/net/http.rb:430:in `do_start'' from /opt/local/lib/ruby/1.8/net/http.rb:419:in `start'' from /opt/local/lib/ruby/1.8/net/http.rb:324:in `start'' from /opt/local/lib/ruby/1.8/open-uri.rb:544:in `proxy_open'' from /opt/local/lib/ruby/1.8/open-uri.rb:525:in `direct_open'' from /opt/local/lib/ruby/1.8/open-uri.rb:169:in `open_loop'' ... 12 levels... from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:in `require__'' from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:in `require'' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/ lib/active_support/dependencies.rb:214:in `require'' from script/plugin:3 Duane Johnson (canadaduane) http://blog.inquirylabs.com/
Ed C.
2006-Jan-09 14:00 UTC
[Rails] Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
I installed from darwinports -- ruby 1.8.2, which included a dependency for OpenSSL 0.9.8a I see the exact same error as Duane. On 1/9/06, Duane Johnson <duane.johnson@gmail.com> wrote:> > On Dec 29, 2005, at 12:44 PM, Ed C. wrote: > > > Anyone -- > > > > Was a solution to this ever found? (I''m having the same issue, when > > trying to to "./script plugin discover") > > > > Regards, > > EJC > > > > Anyone? > > I''m also in the "I compiled Ruby myself and I''m still getting this > troublesome message" group. > > Duane Johnson > (canadaduane) > http://blog.inquirylabs.com/ > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Ezra Zygmuntowicz
2006-Jan-09 16:42 UTC
[Rails] Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
On Jan 8, 2006, at 11:20 PM, Duane Johnson wrote:> > On Dec 29, 2005, at 12:44 PM, Ed C. wrote: > >> Anyone -- >> >> Was a solution to this ever found? (I''m having the same issue, when >> trying to to "./script plugin discover") >> >> Regards, >> EJC >> > > Anyone? > > I''m also in the "I compiled Ruby myself and I''m still getting this > troublesome message" group. > > Duane Johnson > (canadaduane) > http://blog.inquirylabs.com/ >Whenever I have seen this problem on OSX it has been because of the need to compile ruby with Open-SSL support built in. So you might need to try and recompile ruby and make sure to use the flags to show it where your Open-SSL install is located. I don''t know the commands offhand but I remember doing this a long time ago. HTH- -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster http://yakimaherald.com 509-577-7732 ezra@yakima-herald.com
Duane Johnson
2006-Jan-09 20:07 UTC
[Rails] Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
On Jan 9, 2006, at 9:39 AM, Ezra Zygmuntowicz wrote:> > On Jan 8, 2006, at 11:20 PM, Duane Johnson wrote: > >> >> On Dec 29, 2005, at 12:44 PM, Ed C. wrote: >> >>> Anyone -- >>> >>> Was a solution to this ever found? (I''m having the same issue, when >>> trying to to "./script plugin discover") >>> >>> Regards, >>> EJC >>> >> >> Anyone? >> >> I''m also in the "I compiled Ruby myself and I''m still getting this >> troublesome message" group. >> >> Duane Johnson >> (canadaduane) >> http://blog.inquirylabs.com/ >> > > Whenever I have seen this problem on OSX it has been because of the > need to compile ruby with Open-SSL support built in. So you might > need to try and recompile ruby and make sure to use the flags to > show it where your Open-SSL install is located. I don''t know the > commands offhand but I remember doing this a long time ago. >Thanks, Ezra. Got me started in the right direction. I followed the instructions at http://hivelogic.com/articles/ 2005/12/01/ruby_rails_lighttpd_mysql_tiger and got it all to work. Duane Johnson (canadaduane) http://blog.inquirylabs.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060109/47cfa618/attachment.html
Ed C.
2006-Jan-10 01:09 UTC
[Rails] Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
Duane, How did you compile ruby against openssl? What flags did you set? Thanks, EJC On 1/9/06, Duane Johnson <duane.johnson@gmail.com> wrote:> > > On Jan 9, 2006, at 9:39 AM, Ezra Zygmuntowicz wrote: > > > On Jan 8, 2006, at 11:20 PM, Duane Johnson wrote: > > > > On Dec 29, 2005, at 12:44 PM, Ed C. wrote: > > > Anyone -- > > Was a solution to this ever found? (I''m having the same issue, when > trying to to "./script plugin discover") > > Regards, > EJC > > > > Anyone? > > I''m also in the "I compiled Ruby myself and I''m still getting this > troublesome message" group. > > Duane Johnson > (canadaduane) > http://blog.inquirylabs.com/ > > > > Whenever I have seen this problem on OSX it has been because of the need to > compile ruby with Open-SSL support built in. So you might need to try and > recompile ruby and make sure to use the flags to show it where your Open-SSL > install is located. I don''t know the commands offhand but I remember doing > this a long time ago. > > > Thanks, Ezra. Got me started in the right direction. > > I followed the instructions at > http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger > and got it all to work. > > > Duane Johnson > (canadaduane) > http://blog.inquirylabs.com/ > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
Duane Johnson
2006-Jan-10 02:12 UTC
[Rails] Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
On Jan 9, 2006, at 6:09 PM, Ed C. wrote:> Duane, > > How did you compile ruby against openssl? What flags did you set? > > Thanks, > EJC >I didn''t do anything special. Just followed the directions given on that page. Are you coming across some error messages? Duane Johnson (canadaduane) http://blog.inquirylabs.com/
Ed C.
2006-Jan-10 02:20 UTC
[Rails] Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
No, I hadn''t tried it yet -- wanted to make sure I got it right the first (ok, second) time ;) Diving in now. Thanks! On 1/9/06, Duane Johnson <duane.johnson@gmail.com> wrote:> > On Jan 9, 2006, at 6:09 PM, Ed C. wrote: > > > Duane, > > > > How did you compile ruby against openssl? What flags did you set? > > > > Thanks, > > EJC > > > I didn''t do anything special. Just followed the directions given on > that page. Are you coming across some error messages? > > Duane Johnson > (canadaduane) > http://blog.inquirylabs.com/ > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Scott Willson
2006-Jan-16 14:07 UTC
[Rails] Re: OpenSSL ''no ciphers'' error on OS X when using Net::HTTP
On Jan 9, 2006, at 6:12 PM, Duane Johnson wrote:> > On Jan 9, 2006, at 6:09 PM, Ed C. wrote: > >> Duane, >> >> How did you compile ruby against openssl? What flags did you set? >> >> Thanks, >> EJC >> > I didn''t do anything special. Just followed the directions given > on that page. Are you coming across some error messages? > > Duane Johnson > (canadaduane) > http://blog.inquirylabs.com/ > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/railsOK. This is a hack, and I can''t believe I''m posting it on a public mailing list. But if you all you need is to grab HTML via Net::HTTP, you can just comment out line 38 in protocols.rb and non-SSL gets will work.