Code Monkey home page Code Monkey logo

Comments (10)

KrauseFx avatar KrauseFx commented on September 28, 2024

That looks weird. Here is the code, which generates the profile for you: cert_manager.rb

How is it different from what you do when you create one manually?

from pem.

kjf avatar kjf commented on September 28, 2024

These are my manual steps in creating a cert:

  • In developer portal click on create cert and follow those instructions to upload my CertificateSigningRequest.certSigningRequest
  • Download apple generated .cer file
  • Double click cer file to import into keychain
  • Find cert in keychain, right click and export as "development.p12" not setting any password
  • Run "openssl pkcs12 -in development.p12 -out development.pem -nodes -clcerts"
  • Use .pem file to send push notification

I'm not too great on openssl but it would seem my openssl command is differing in that I'm omitting the -passin flag and including the -clcerts flag

from pem.

KrauseFx avatar KrauseFx commented on September 28, 2024

It looks like there is some problem with your private key. What does the QuickLook plugin tell you (if you have it installed)?

from pem.

KrauseFx avatar KrauseFx commented on September 28, 2024

Okay, it looks like I have the same problem when running it. I seem to have broken it somehow - it worked before. I assume this is somehow related to the temporary Keychain.

from pem.

KrauseFx avatar KrauseFx commented on September 28, 2024

This is fixed with the latest release: https://github.com/KrauseFx/PEM/releases/tag/0.2.0

Please update using sudo gem update pem and try again. Let me know if that fixes your problem.

from pem.

kjf avatar kjf commented on September 28, 2024

Hey, just testing this now and I get an error when generating the .cer file.

INFO [2014-11-28 21:54:52.69]: Couldn't find a signing certificate in the current folder. Creating one for you now.
INFO [2014-11-28 21:54:52.88]: Successfully generated .certSigningRequest at path '/tmp/PEM/PEMCertificateSigningRequest.certSigningRequest'
/Users/Kevin/.rvm/gems/ruby-2.1.2/gems/pem-0.2.1/lib/pem/developer_center.rb:252:in `create_push_for_app': undefined method `set' for nil:NilClass (NoMethodError)
        from /Users/Kevin/.rvm/gems/ruby-2.1.2/gems/pem-0.2.1/lib/pem/developer_center.rb:211:in `fetch_cer_file'
        from /Users/Kevin/.rvm/gems/ruby-2.1.2/gems/pem-0.2.1/lib/pem/cert_manager.rb:12:in `run'
        from /Users/Kevin/.rvm/gems/ruby-2.1.2/gems/pem-0.2.1/bin/pem:38:in `block (2 levels) in <top (required)>'
        from /Users/Kevin/.rvm/gems/ruby-2.1.2/gems/commander-4.2.1/lib/commander/command.rb:180:in `call'
        from /Users/Kevin/.rvm/gems/ruby-2.1.2/gems/commander-4.2.1/lib/commander/command.rb:180:in `call'
        from /Users/Kevin/.rvm/gems/ruby-2.1.2/gems/commander-4.2.1/lib/commander/command.rb:155:in `run'
        from /Users/Kevin/.rvm/gems/ruby-2.1.2/gems/commander-4.2.1/lib/commander/runner.rb:421:in `run_active_command'
        from /Users/Kevin/.rvm/gems/ruby-2.1.2/gems/commander-4.2.1/lib/commander/runner.rb:81:in `run!'
        from /Users/Kevin/.rvm/gems/ruby-2.1.2/gems/commander-4.2.1/lib/commander/delegates.rb:8:in `run!'
        from /Users/Kevin/.rvm/gems/ruby-2.1.2/gems/commander-4.2.1/lib/commander/import.rb:10:in `block in <top (required)>'

error1417211692

from pem.

KrauseFx avatar KrauseFx commented on September 28, 2024

Oh, looks like wait_for_elements(".button.small.center.back") is not enough for this page.
I'll improve that. In the mean time just try to run it again. The page was just still loading.

from pem.

KrauseFx avatar KrauseFx commented on September 28, 2024

This is not related to the original issue. I'm currently working on a fix of this problem.

from pem.

KrauseFx avatar KrauseFx commented on September 28, 2024

Could you please download the current version as zip, and run sudo rake install and try again?

from pem.

fastlanebot avatar fastlanebot commented on September 28, 2024

This issue was migrated to fastlane/fastlane#2845. 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 pem.

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.