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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

certificate verify failed #84

Closed
FiloSottile opened this issue Jan 12, 2014 · 2 comments
Closed

certificate verify failed #84

FiloSottile opened this issue Jan 12, 2014 · 2 comments

Comments

@FiloSottile
Copy link

With the latest version, from 2 different networks.

Before going tinfoil, did DO change certificate? And big props for doing cert pinning, if that is the case!

(Ah, BTW, SSLv3? 馃槖)

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed!
/usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tugboat-0.0.9/lib/tugboat/middleware/authentication_middleware.rb:24:in `rescue in call': undefined method `status' for nil:NilClass (NoMethodError)
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tugboat-0.0.9/lib/tugboat/middleware/authentication_middleware.rb:20:in `call'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/faraday-0.8.9/lib/faraday/connection.rb:253:in `run_request'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/faraday-0.8.9/lib/faraday/connection.rb:106:in `get'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/digital_ocean-1.0.1/lib/digital_ocean/resource/droplet.rb:6:in `list'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tugboat-0.0.9/lib/tugboat/middleware/check_credentials.rb:11:in `call'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tugboat-0.0.9/lib/tugboat/middleware/inject_client.rb:33:in `call'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tugboat-0.0.9/lib/tugboat/middleware/check_configuration.rb:13:in `call'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tugboat-0.0.9/lib/tugboat/middleware/inject_configuration.rb:10:in `call'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tugboat-0.0.9/lib/tugboat/middleware/ask_for_credentials.rb:27:in `call'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tugboat-0.0.9/lib/tugboat/middleware/inject_configuration.rb:10:in `call'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/middleware-0.1.0/lib/middleware/runner.rb:31:in `call'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/middleware-0.1.0/lib/middleware/builder.rb:102:in `call'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tugboat-0.0.9/lib/tugboat/cli.rb:36:in `authorize'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
    from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/gems/2.0.0/gems/tugboat-0.0.9/bin/tugboat:10:in `<top (required)>'
    from /usr/local/opt/ruby/bin/tugboat:23:in `load'
    from /usr/local/opt/ruby/bin/tugboat:23:in `<main>'
@FiloSottile
Copy link
Author

Oooook, duplicate of #70 and RTFM

Cert pinning would still be nice.

@pearkes
Copy link
Collaborator

pearkes commented Jan 12, 2014

I'm not entirely sure how we would implement it, but I definitely see the value. If you are, I would love to learn more. :)

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