Coder Social home page Coder Social logo

SSL error about cupertino HOT 3 CLOSED

nomad-cli avatar nomad-cli commented on June 25, 2024
SSL error

from cupertino.

Comments (3)

dehy avatar dehy commented on June 25, 2024

same here : ruby 1.9.3-p194 via rvm on 10.7.4

Please notice I belong to multiple dev teams in the dev center.

dehys-macbook-air:~ arnaud$ ios profiles:list
error: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. Use --trace to view backtrace
dehys-macbook-air:~ arnaud$ ios --trace profiles:list
/Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/net-http-persistent-2.7/lib/net/http/persistent/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 /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/net-http-persistent-2.7/lib/net/http/persistent/ssl_reuse.rb:70:in `block in connect'
    from /Users/arnaud/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
    from /Users/arnaud/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/net-http-persistent-2.7/lib/net/http/persistent/ssl_reuse.rb:70:in `connect'
    from /Users/arnaud/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
    from /Users/arnaud/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:750:in `start'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/net-http-persistent-2.7/lib/net/http/persistent.rb:511:in `connection_for'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/net-http-persistent-2.7/lib/net/http/persistent.rb:806:in `request'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/mechanize-2.5.1/lib/mechanize/http/agent.rb:258:in `fetch'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/mechanize-2.5.1/lib/mechanize.rb:407:in `get'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/cupertino-0.4.0/lib/cupertino/provisioning_portal/agent.rb:20:in `block in get'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/cupertino-0.4.0/lib/cupertino/provisioning_portal/agent.rb:19:in `times'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/cupertino-0.4.0/lib/cupertino/provisioning_portal/agent.rb:19:in `get'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/cupertino-0.4.0/lib/cupertino/provisioning_portal/agent.rb:135:in `list_profiles'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/cupertino-0.4.0/lib/cupertino/provisioning_portal/commands/profiles.rb:8:in `block (3 levels) in <top (required)>'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/cupertino-0.4.0/lib/cupertino/provisioning_portal/helpers.rb:44:in `try'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/cupertino-0.4.0/lib/cupertino/provisioning_portal/commands/profiles.rb:8:in `block (2 levels) in <top (required)>'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/commander-4.1.2/lib/commander/command.rb:180:in `call'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/commander-4.1.2/lib/commander/command.rb:180:in `call'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/commander-4.1.2/lib/commander/command.rb:155:in `run'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/commander-4.1.2/lib/commander/runner.rb:402:in `run_active_command'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/commander-4.1.2/lib/commander/runner.rb:78:in `run!'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/commander-4.1.2/lib/commander/delegates.rb:11:in `run!'
    from /Users/arnaud/.rvm/gems/ruby-1.9.3-p194/gems/commander-4.1.2/lib/commander/import.rb:10:in `block in <top (required)>'

from cupertino.

mattt avatar mattt commented on June 25, 2024

This is a bug in Ruby 1.9 under certain circumstances where certificate authority root certs aren't found. See this blog post for more details and suggestions on how to fix it.

from cupertino.

bbguitar avatar bbguitar commented on June 25, 2024

This should not be closed yet as the link explains the problem but does bot explain how to fix it for cupertino but for problems in general and even then it's hacking around in other files.

For my solution I added Arne Brasseur's grist https://gist.github.com/2659619 to the beginning of the ios script.

from cupertino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.