Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

certificate verify failed (OpenSSL::SSL::SSLError) #1

Open
sashareds opened this issue Jan 25, 2012 · 1 comment
Open

certificate verify failed (OpenSSL::SSL::SSLError) #1

sashareds opened this issue Jan 25, 2012 · 1 comment

Comments

@sashareds
Copy link

Hi Jamie,
Thanks for the script!
But can't get it work!

Here is output:

{:reg=>"12345678",
 :pac=>["1", "2", "3", "4", "5"],
 :work=>"1234",
 :visa=>"4321",
 :date=>#<Date: 2012-12-11 ((2456273j,0s,0n),+0s,2299161j)>}
###################################### Step 1
C:/Ruby/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.3/lib/net/http/persiste
nt/ssl_reuse.rb:70:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read
 server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
        from C:/Ruby/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.3/lib/net/
http/persistent/ssl_reuse.rb:70:in `block in connect'
        from C:/Ruby/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
        from C:/Ruby/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
        from C:/Ruby/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.3/lib/net/
http/persistent/ssl_reuse.rb:70:in `connect'
        from C:/Ruby/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
        from C:/Ruby/lib/ruby/1.9.1/net/http.rb:750:in `start'
        from C:/Ruby/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.3/lib/net/
http/persistent.rb:405:in `connection_for'
        from C:/Ruby/lib/ruby/gems/1.9.1/gems/net-http-persistent-2.3.3/lib/net/
http/persistent.rb:616:in `request'
        from C:/Ruby/lib/ruby/gems/1.9.1/gems/mechanize-2.1/lib/mechanize/http/a
gent.rb:264:in `fetch'
        from C:/Ruby/lib/ruby/gems/1.9.1/gems/mechanize-2.1/lib/mechanize.rb:319
:in `get'
        from C:/Ruby/apps/aib.rb:51:in `login'
        from C:/Ruby/apps/aib.rb:136:in `<main>'

Is this script still working for current AIB online banking? :) Wud be awesome to get it work!

Looking forward to hearing from you
Cheers
Alex

@ideasasylum
Copy link
Owner

Thanks for letting me know. I'll try to look into the issue but it looks like a configuration issue with Ruby 1.9 (see lots stackoverflow posts)

Having said that, even if this works the script itself might still fail if the AIB site has been updated in the last 18mths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants