Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions for apns key unclear #6

Closed
dvcrn opened this issue May 27, 2016 · 2 comments
Closed

Instructions for apns key unclear #6

dvcrn opened this issue May 27, 2016 · 2 comments

Comments

@dvcrn
Copy link

dvcrn commented May 27, 2016

config :pigeon, 
  apns_mode: :dev,
  apns_cert: "cert.pem",
  apns_key: "key_unencrypted.pem"
  apns_2197: true (optional)

Am I supposed to copy the entire content of the key / certificate into the config or does this actually refer a file?

If a file, where is the file supposed to be for pigeon to find it?

@hpopp
Copy link
Member

hpopp commented May 27, 2016

The config looks for files relative to the project root.

e.g. if you put them in a certs directory, your config would look like so:

config :pigeon,
    apns_mode: :dev,
    apns_cert: "certs/cert.pem",
    apns_key: "certs/key_unencrypted.pem"

@dvcrn
Copy link
Author

dvcrn commented May 28, 2016

I see, thanks for the fast answer. Let me give that a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants