
Error on "/login"
Reported by Lee Martin | March 26th, 2009 @ 03:26 PM
OpenSSL::SSL::SSLError (certificate verify failed):
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:590:in
connect'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:590:in
connect'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:557:in
do_start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:546:in
start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:1044:in
request'
/Users/Lee/.gem/ruby/1.8/gems/oauth-0.3.2/lib/oauth/consumer.rb:122:in
request'
/Users/Lee/.gem/ruby/1.8/gems/oauth-0.3.2/lib/oauth/consumer.rb:156:in
token_request'
/Users/Lee/.gem/ruby/1.8/gems/oauth-0.3.2/lib/oauth/consumer.rb:104:in
get_request_token'
/Users/Lee/Sites/twt.fm/vendor/plugins/twitter-auth/app/controllers/sessions_controller.rb:4:in
new'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:1322:in
send'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:1322:in
perform_action_without_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:617:in
call_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:610:in
perform_action_without_benchmark'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/benchmarking.rb:68:in
perform_action_without_rescue'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/benchmarking.rb:68:in
perform_action_without_rescue'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rescue.rb:160:in
perform_action_without_flash'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/flash.rb:141:in
perform_action'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:523:in
send'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:523:in
process_without_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:606:in
process'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:391:in
process'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:386:in
call'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/routing/route_set.rb:433:in
`call'
Comments and changes to this ticket
-
Michael Bleigh March 26th, 2009 @ 03:30 PM
- State changed from new to invalid
Lee,
This is due to OpenSSL not having certificates against which to verify. The solution to it is either to turn off SSL verification or get a certificate bundle to compare against.
http://ghouston.blogspot.com/200...
The other solution would be to take the "s" off of "https" in twitter_auth.yml's base_url, but this would be less recommended.
-
Samuel Joseph May 27th, 2009 @ 07:20 PM
I think the simpler solution here is adding the following to individual environment files:
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
as described in tutorial comments here:
http://intridea.com/2009/3/23/twitter-auth-for-near-instant-twitter...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A full-stack authentication system for Rails that uses Twitter.