Comments (10)
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.
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.
- The first 2 steps are exactly the same.
- Instead of importing it into the standard Keychain, it will do this: cert_manager.rb#L27
- Exporting is done here: cert_manager.rb#L31
openssl
command is executed here: cert_manager.rb#L35
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.
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.
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.
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)>'
from pem.
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.
This is not related to the original issue. I'm currently working on a fix of this problem.
from pem.
Could you please download the current version as zip, and run sudo rake install
and try again?
from pem.
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)
- Issue if wrong password entered HOT 5
- Download existing certificate HOT 3
- Crash in various stages of pem generation (`sysread_nonblock': end of file reached (Faraday::ConnectionFailed)) HOT 2
- pem cannot create development push cert without --force HOT 7
- App with bundleId but no iTunes Connect App (Enterprise) HOT 1
- If certificate exist, possibility to download. HOT 2
- not an issue but a question HOT 10
- UnexpectedResponse - 302 Found HOT 5
- Login error personal developer account HOT 3
- missing team id in non interactive mode blocks HOT 6
- output_path is not working. HOT 6
- Possibly Incorrect Production Certificate Generation HOT 4
- Download .cer file HOT 7
- fetch existing certificates if present HOT 2
- Integrate into Match ? HOT 6
- OpenSSL error when trying to renew HOT 2
- Option for naming private key HOT 2
- 'unable to get local issuer certificate' certificate error HOT 4
- Please keep .certsigningrequest HOT 2
- missing team id in non interactive mode still blocks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pem.