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

Get "read server certificate B: certificate verify failed" #27

Open
jesbby opened this issue Jul 3, 2013 · 1 comment
Open

Get "read server certificate B: certificate verify failed" #27

jesbby opened this issue Jul 3, 2013 · 1 comment

Comments

@jesbby
Copy link

jesbby commented Jul 3, 2013

Trying to use Spice to talk to 11.4 Chef Server. Running Ruby 2.0.0p247/RVM 1.21.5 on Ubuntu 13.04. Have tried every method I can find to update my ssl cert, but still get:

/home/vagrant/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:918:in connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (Spice::Error::ClientError) from /home/vagrant/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:918:inblock in connect'
from /home/vagrant/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/timeout.rb:52:in timeout' from /home/vagrant/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:918:inconnect'
from /home/vagrant/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:862:in do_start' from /home/vagrant/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:851:instart'
from /home/vagrant/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/net/http.rb:1367:in request' from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/faraday-0.8.7/lib/faraday/adapter/net_http.rb:75:inperform_request'
from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/faraday-0.8.7/lib/faraday/adapter/net_http.rb:38:in call' from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/faraday-0.8.7/lib/faraday/response.rb:8:incall'
from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/faraday-0.8.7/lib/faraday/response.rb:8:in call' from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/faraday-0.8.7/lib/faraday/connection.rb:247:inrun_request'
from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/spice-1.0.6/lib/spice/request.rb:55:in request' from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/spice-1.0.6/lib/spice/request.rb:11:inget'
from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/spice-1.0.6/lib/spice/connection/search.rb:34:in search' from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/spice-1.0.6/lib/spice/connection/clients.rb:11:inclients'
from /home/vagrant/.rvm/gems/ruby-2.0.0-p247/gems/spice-1.0.6/lib/spice.rb:20:in method_missing' from spice.rb:7:in

'

@jesbby
Copy link
Author

jesbby commented Jul 3, 2013

After further research I don't think this is Spice's fault. Get exactly the same error from Ridley. Spice works fine if I set my Chef server to accept HTTP requests.

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

1 participant