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 error #3

Open
ThierryBegin opened this issue Apr 21, 2015 · 3 comments
Open

Certificate error #3

ThierryBegin opened this issue Apr 21, 2015 · 3 comments

Comments

@ThierryBegin
Copy link

C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:in connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certif icate B: certificate verify failed (OpenSSL::SSL::SSLError) from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:inblock in connect'
from C:/Ruby22-x64/lib/ruby/2.2.0/timeout.rb:74:in timeout' from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:923:inconnect'
from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:863:in do_start' from C:/Ruby22-x64/lib/ruby/2.2.0/net/http.rb:852:instart'
from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:318:in open_http' from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:736:inbuffer_open'
from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:211:in block in open_loop' from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:209:incatch'
from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:209:in open_loop' from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:150:inopen_uri'
from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:716:in open' from C:/Ruby22-x64/lib/ruby/2.2.0/open-uri.rb:34:inopen'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/git2pdf-0.1.5/lib/git2pdf.rb:29:in block in get_issues' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/git2pdf-0.1.5/lib/git2pdf.rb:22:ineach'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/git2pdf-0.1.5/lib/git2pdf.rb:22:in get_issues' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/git2pdf-0.1.5/lib/git2pdf.rb:16:inexecute'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/git2pdf-0.1.5/bin/git2pdf:29:in gen' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:inrun'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:indispatch'
from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/git2pdf-0.1.5/bin/git2pdf:36:in<top (required)>'
from C:/Ruby22-x64/bin/git2pdf:23:in load' from C:/Ruby22-x64/bin/git2pdf:23:in

'

@sebnor
Copy link

sebnor commented May 27, 2015

+1

1 similar comment
@YutingTang
Copy link

+1

@seyyah
Copy link

seyyah commented Dec 9, 2016

workaround solution for Ubuntu 16.04,

$ wget http://curl.haxx.se/ca/cacert.pem
$ sudo mv cacert.pem /usr/local/share/ca-certificates/
$ #Add export SSL_CERT_FILE=/usr/local/share/ca-certificates/cacert.pem to your .bash_profile
$ echo "export SSL_CERT_FILE=/usr/local/share/ca-certificates/cacert.pem" >> ~/.bash_profile
$ source ~/.bash_profile
$ # test
$ echo $SSL_CERT_FILE
/usr/local/share/ca-certificates/cacert.pem

References

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

4 participants