Git Product home page Git Product logo

Comments (12)

KrauseFx avatar KrauseFx commented on July 20, 2024

Anything we should know about your setup? Are you administrator on your Mac? Do you use the standard Keychain? Has it worked before?

from cert.

daniel-choi avatar daniel-choi commented on July 20, 2024

Yes I am the admin and it is a fresh install of OS X Yosemite. Standard keychain. I do see the file exist in /tmp/cert/certificate.cer but the program can't seemed to find it.

from cert.

KrauseFx avatar KrauseFx commented on July 20, 2024

No, the download + installation went fine, cert just can't find it in your Keychain. Do you see the new code signing identity in the Keychain?

from cert.

KrauseFx avatar KrauseFx commented on July 20, 2024

Any updates on this?

from cert.

lacostej avatar lacostej commented on July 20, 2024

I got the same issue yesterday.

$ cert -u [email protected] -t "YOYO"
INFO [2015-04-27 15:07:40.35]: Login into iOS Developer Center
INFO [2015-04-27 15:07:51.53]: Login successful
INFO [2015-04-27 15:07:53.10]: Couldn't find an existing certificate... creating a new one
INFO [2015-04-27 15:07:53.64]: Creating a new code signing certificate
INFO [2015-04-27 15:07:55.73]: Creating a signing certificate for you.

1 key imported.
INFO [2015-04-27 15:07:56.06]: Successfully generated .certSigningRequest at path '/tmp/cert/CertCertificateSigningRequest.certSigningRequest'
INFO [2015-04-27 15:07:56.06]: Uploading the cert signing request '/tmp/cert/CertCertificateSigningRequest.certSigningRequest'
INFO [2015-04-27 15:08:00.30]: Downloading newly generated certificate
INFO [2015-04-27 15:08:02.31]: Downloading URL: 'https://developer.apple.com/account/ios/certificate/certificateContentDownload.action?displayId=XXXXXXX&type=XXXXXX'
INFO [2015-04-27 15:08:03.57]: Successfully downloaded latest .cer file to '/tmp/cert/certificate.cer' (XXXXXXX)
1 certificate imported.
/Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/gems/cert-0.1.9/lib/cert/cert_runner.rb:7:in `run': Could not find the newly generated certificate installed (RuntimeError)
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/gems/cert-0.1.9/bin/cert:34:in `block (2 levels) in run'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/gems/commander-4.3.3/lib/commander/command.rb:178:in `call'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/gems/commander-4.3.3/lib/commander/command.rb:178:in `call'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/gems/commander-4.3.3/lib/commander/command.rb:153:in `run'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/gems/commander-4.3.3/lib/commander/runner.rb:428:in `run_active_command'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/gems/commander-4.3.3/lib/commander/runner.rb:68:in `run!'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/gems/commander-4.3.3/lib/commander/delegates.rb:15:in `run!'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/gems/cert-0.1.9/bin/cert:40:in `run'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/gems/cert-0.1.9/bin/cert:46:in `<top (required)>'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/bin/cert:23:in `load'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/bin/cert:23:in `<main>'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `eval'
    from /Users/Shared/Jenkins/Home/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `<main>'
  • I am not the admin on the Mac, but my user is staff member
  • install isn't fresh (was upgraded from 10.8 a few months ago)
  • certificate appeared in keychain
  • this was my first time trying to use it.
  • Keychain app was opened at the time
  • user was logged in (I was running the operation from a shell on a VNC connection)

I also note that this machine has time syncing issues (Mavericks time drift bug) that sometimes causes issues (e.g. newly generated provisioning profile can be not yet valid, etc).

from cert.

MarkMolina avatar MarkMolina commented on July 20, 2024

Same issue here. Als worth noting that cert can't seem to find existing certificates and always generates a new one.

[13:03:52]: Couldn't find an existing certificate... creating a new one
[13:03:52]: Creating a new code signing certificate
[13:03:54]: Creating a signing certificate for you.

...

Successfully downloaded latest .cer file to '/tmp/cert/certificate.cer' (5UL42BMET6)
1 certificate imported.

13:04:02: --- Step: slack ---

/Library/Ruby/Gems/2.0.0/gems/cert-0.2.1/lib/cert/cert_runner.rb:7:in `run': Could not find the newly generated certificate installed (RuntimeError)

from cert.

KrauseFx avatar KrauseFx commented on July 20, 2024

I pushed a new beta version 0.3.0.beta1, please upgrade using

sudo gem update cert --pre

One bigger change is the default output directory now being the current working directory. You can change that by specifying your own directory using the -o option.

Let me know if that fixes your issue.

from cert.

marcioviegas avatar marcioviegas commented on July 20, 2024

I'm facing this error right now, with version 0.3.3
Anyone has the solution for that?

But the certificate is there, but with an alert:
"This certificate was signed by an unknown authority"

Also, the build is working on one machine with the same operation system (version).
Thanks

from cert.

greenmood avatar greenmood commented on July 20, 2024

Also don't forget to check your Apple's WWDR certificate in keychain, it can be expired, causing the problem. If so, just download new certificate from https://www.apple.com/certificateauthority/

from cert.

KrauseFx avatar KrauseFx commented on July 20, 2024

I can reproduce this error and assume it's because of the WWDR certificate

from cert.

KrauseFx avatar KrauseFx commented on July 20, 2024

I just pushed a fix for this fastlane-old/fastlane_core@d096711

from cert.

fastlanebot avatar fastlanebot commented on July 20, 2024

This issue was migrated to fastlane/fastlane#3127. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀

from cert.

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.