Closed yepesasecas closed 7 years ago
Hi, What part of the certification are you blocked at?
I have been following multiple guides. This are the steps I took (I think, I'm doing it totally wrong)
I created an Apple Push Notification service SSL (Sandbox & Production)
Then I added to my Keychain.
I found this guide:
Then tried to export as .p12, not allowed.
This looks perfectly fine, but you do not need the last step.
Once you have cert.pem
and key_unencrypted.pem
, you only need to configure your app, for example:
config :pushex,
apns: [
default_app: "my_app",
apps: [
[name: "my_app",
env: :dev,
certfile: Path.expand("../cert.pem", __DIR__),
keyfile: Path.expand("../key_unencrypted.pem", __DIR__),
pool_size: 5]
]
]
With the above config, cert.pem
and key_unencrypted.pem
should be placed in your project root directory. Of course you can change this to fit your needs.
thank you for your help. @tuvistavie :)
also this helped me: https://stackoverflow.com/questions/21250510/generate-pem-file-used-to-setup-apple-push-notification
Im trying to create the Apple certificate, but I'm not able to make it work. I follow multiple tutorial from different languages, but they don't work. pushex.
thank you