SSL error within workers #204

Closed
paddyforan opened this Issue Aug 30, 2012 · 2 comments

Projects

None yet

3 participants

@paddyforan
Contributor

We should really get this documented.

/usr/lib/ruby/1.9.1/net/http.rb:799:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) from /usr/lib/ruby/1.9.1/net/http.rb:799:in `block in connect' from /usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout' from /usr/lib/ruby/1.9.1/timeout.rb:99:in `timeout'

Solution:

http.verify_mode = OpenSSL::SSL::VERIFY_NONE

Or try this gem:

https://github.com/stevegraham/certified

@treeder can you verify that this is Ruby-specific? Is this something that every language will have to deal with?

@paddyforan paddyforan was assigned Aug 30, 2012
@treeder
Member
treeder commented Aug 30, 2012

I'm not sure if it's Ruby specific, we'll have to hear from others if they run into the issue.

@paddyforan
Contributor

@treeder would iron-io/server_images#23 resolve this/render user-side code changes unnecessary?

@paddyforan paddyforan removed their assignment Jun 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment