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

SSL Certificate Error #3

Open
freizeit-pirat opened this issue Mar 26, 2017 · 1 comment
Open

SSL Certificate Error #3

freizeit-pirat opened this issue Mar 26, 2017 · 1 comment

Comments

@freizeit-pirat
Copy link

Hi there,

thanks a lot for this skript - i've really been looking for this.
I'm absolutly new to ruby, so i had to make ruby installation (2.2.6 on Win10) for this. Also it seemed i had had to install some of the gems from "required" section.

Still after that, when running the script i'm getting a ssl certificate error:

C:\Users\alex\Downloads\grab-hib-master>ruby grab-hib.rb
C:/Ruby22/lib/ruby/2.2.0/net/http.rb:923:in connect': SSL_connect returned=1 errno=0 state=error: certificate verify failed (OpenSSL::SSL::SSLError) from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:923:in block in connect'
from C:/Ruby22/lib/ruby/2.2.0/timeout.rb:73:in timeout' from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:923:in connect'
from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:863:in do_start' from C:/Ruby22/lib/ruby/2.2.0/net/http.rb:858:in start'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:700:in start' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:631:in connection_for'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/net-http-persistent-2.9.4/lib/net/http/persistent.rb:994:in request' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/mechanize-2.7.5/lib/mechanize/http/agent.rb:274:in fetch'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/mechanize-2.7.5/lib/mechanize.rb:562:in request_with_entity' from C:/Ruby22/lib/ruby/gems/2.2.0/gems/mechanize-2.7.5/lib/mechanize.rb:511:in post'
from grab-hib.rb:218:in hib_login' from grab-hib.rb:344:in

'

I already tried google-debugging "connect': SSL_connect returned=1 errno=0 state=error: certificate verify failed (OpenSSL::SSL::SSLError)" but i don't think this is getting me on.

Is there any general requirement for dealing with this cert error?

BR & thanks a lot
Alex

@Oblomov
Copy link
Owner

Oblomov commented Mar 26, 2017

Hello,

I'm honestly not very familiar with Ruby on Windows, so I can't help directly.

Keep also in mind that the ruby script itself does not download anything: what it does is to generate a shell script to download things via transmission. I'm not sure if this works on Windows at all.

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